Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.

msm

New member
Hi,

I just encountered this error Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown. when trying to expand the UltimateCharacterLocomotion inspector. It occurs in UltimateCharacterController/Editor/Inspectors/Utility/InspectorUtility.cs:283 at the line var assemblyTypes = assemblies[i].GetTypes();

This started happening after I installed the ImmediateWindow package from the PackageManager.
Removing the package resolves the issue again.
 
I am not familiar with that package but it looks like that package is somehow causing GetTypes to not work. I would report the bug to Unity so they can take a closer look at the cause.
 
Top