FixUnityAssemblyVersionResolution

If you mark any of Unity's assemblies with the [AssemblyVersion] attribute to get a rolling assembly version that changes sometimes (or all the time), Odin's hardcoded assembly references to user types will break.

To fix this case, and all other cases of references to wrongly versioned Unity types not being resolved, we overload the app domain's type resolution and resolve Unity user assemblies properly regardless of version.

namespace Sirenix.OdinInspector.Editor
{
[InitializeOnLoadAttribute]
static class FixUnityAssemblyVersionResolution
}

Requirements

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0