Unhandled exception: System.Reflection.ReflectionTypeLoadException in Unity3d

I get this error: compilation of a time error at startup I searched on the unity forum that they are talking about their release of System.Web.dll, I cleaned this up and also re-imported the assets, but it still does not work.

Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
  at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0 
  at Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly assembly, System.Type extensionType) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx) [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Driver.LoadReferences () [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0 
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0 

The answers I received from unity:

and none of them helped me.

+4
source share
5 answers

The problem is caused by Unity.PackageManager.dll in your project. Remove it and it will disappear.

, , , . Editor Standard Assets, .

, , , , . . .

+3

"Target Framework" DLL. DLL.

, , , DLL. DLL, , Unity:

C:\Program Files\Unity\Editor\Data\Mono\lib\mono\2.0

, , MonoBleedingEdge, DLL . , .

DLL , "Target Framework" . , .

+2

, DLL, , CPU. , x86.

0

.Net Framework 3.5 false UnityEngine.

dll .

, .

0
source

Wow, I got a version of this Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.bullshit ... after a couple of hours of crying / raging, re-importing assets, deleting the Library / Temp folders, changing platforms, re-importing plugins, and finally passed it. Honestly, I don’t know exactly what it fixed. It was annoying.

0
source

All Articles