- Home /
Question by
William_Goodspeed · Feb 29, 2016 at 02:48 PM ·
c#unity 5nguiunityui
Unhandled Exception caused by UnityEngine.UI
I'm working on a project that pushes to PC and Mac, recently I decided to upgrade from Unity 5.2.1f1 to Unity 5.2.4f1.
I'm receiving the following error:
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 following assembly referenced from C:\Users\Liam\Documents\My Game\Game Folder\Assets\Sailing.Game.dll could not be loaded:
Assembly: UnityEngine.UI (assemblyref_index=8)
Version: 1.0.0.0
Public Key: (none)
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (C:\Users\Liam\Documents\My Game\Game Folder\Assets\).
Could not load file or assembly 'UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Could not load file or assembly 'UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
The class <Transition>d__0 could not be loaded, used in Sailing.Game, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612070041im_/https://answers.unity.com/themes/thub/images/avi.jpg)