- Home /
Question by
bruno-garcia · Mar 26, 2018 at 12:05 PM ·
monoassemblytypeloadexception
Newly installed 2018.1b fails to start tutorial projects (TypeLoadException)
I've installed 2018.1b (beta) on a Windows 10 machine which has VS 2017 installed. After completing the Learn->Getting Started 4 projects I moved on to the Tutorial projects.
The problem is that the first two fail to load.
2D Game Kit after loading has the following error on the console:
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 /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/Assembly.cs:371
at Cinemachine.Editor.CinemachineVirtualCameraEditor+CollectGizmoDrawers..cctor () [0x00027] in C:\Users\bruno\AppData\Local\Temp\fda8aa8bb1cf14345bc08f03ddb051fa\Assets\2DGamekit\Utilities\Cinemachine\Base\Editor\Editors\CinemachineVirtualCameraEditor.cs:386
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()
Roll-a-ball fails with:
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 /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/Assembly.cs:371
at Cinemachine.Editor.CinemachineVirtualCameraEditor+CollectGizmoDrawers..cctor () [0x00027] in C:\Users\bruno\AppData\Local\Temp\fda8aa8bb1cf14345bc08f03ddb051fa\Assets\2DGamekit\Utilities\Cinemachine\Base\Editor\Editors\CinemachineVirtualCameraEditor.cs:386
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()
The Mono version I have is:
λ mono --version
Mono JIT compiler version 5.10.0 (Visual Studio built mono)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: normal
Notification: Thread + polling
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
GC: sgen (concurrent by default)
Any ideas why are these assemblies failing to load or how to troubleshoot this? Thanks!
Comment