I can't build any project.
Hi everyone.
Every time i try to build a project in as windows standalone Unity throws this exception:
/////////////////////////////////////////////////////////////////////////////////////////// ReflectionTypeLoadException: The classes in the module cannot be loaded. System.Reflection.Assembly.GetTypes () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/Assembly.cs:371) UnityEditor.AttributeHelper+c_Iterator0`1[System.Collections.Generic.IEnumerable`1[UnityEditorInternal.PluginDesc]].MoveNext () (at C:/buildslave/unity/build/Editor/Mono/AttributeHelper.cs:368) UnityEditor.PluginImporter+c_Iterator0.MoveNext () (at C:/buildslave/unity/build/artifacts/generated/common/editor/PluginImporterBindings.gen.cs:94) DesktopStandalonePostProcessor.CopyNativePlugins () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/DesktopStandalonePostProcessor.cs:116) DesktopStandalonePostProcessor.SetupStagingArea () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/DesktopStandalonePostProcessor.cs:145) DesktopStandalonePostProcessor.PostProcess () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/DesktopStandalonePostProcessor.cs:23) UnityEditor.WindowsStandalone.WindowsDesktopStandalonePostProcessor.PostProcess (BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/WinPlayer/Extensions/Managed/WindowsDesktopStandalonePostProcessor.cs:168) UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.BuildReporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:186) UnityEditor.HostView:OnGUI() //////////////////////////////////////////////////////////////////////////////////////////////
I've searched around the forum and there were a lot of threads about this problem. Everyone was talking about dlls that might cause this error, but right now i'm trying to build the simplest of projects (no dlls, imported modles and so on) and still I'm getting this error. I tried to reimport assets couple of times but still nothing. Any ideas how to fix this? :(
Your answer
Follow this Question
Related Questions
WebGL build exception 0 Answers
AppCallbacks constructor throws FileNotFound exception and then crashes W10mobile 1 Answer
the type initializer for "Hypixel.NET.Hypixel.Api" threw an exception 0 Answers
DrawMeshInstanced does not work in build 1 Answer
Why is hard drive space being used when creating an iOS project onto an external drive? 1 Answer