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.
The problem is caused by Unity.PackageManager.dll in your project. Remove it and it will disappear.
, , , . Editor Standard Assets, .
, , , , . . .
"Target Framework" DLL. DLL.
, , , DLL. DLL, , Unity:
C:\Program Files\Unity\Editor\Data\Mono\lib\mono\2.0
, , MonoBleedingEdge, DLL . , .
DLL , "Target Framework" . , .
, DLL, , CPU. , x86.
.Net Framework 3.5 false UnityEngine.
.Net Framework 3.5
false
dll .
, .
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.
Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.