Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
5.1.1p2
Issue ID
894108
Regression
No
[Mono] Using interfaces and generic classes results in "ReflectionTypeLoadException: The classes in the module cannot be loaded"
When inheritance, interfaces and generic classes are used in a particular way, exceptions are thrown if System.Reflection.Assembly.GetTypes() is used.
Steps to reproduce:
1) Open the attached project.
2) Enter play mode.
An exception is thrown in the Console:
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.Build.BuildPipelineInterfaces.InitializeBuildCallbacks (BuildCallbacks findFlags) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:123)
Reproduced on:
2017.1.0a5, 5.2.4f1
-----------------------------------
The issue will be addressed after new scripting runtime will become available.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
Zergling103
Apr 03, 2017 06:12
This is my bug. I see it's gonna be hard to fix. :(