Closed hendryems closed 5 years ago
var typesWithMyAttribute =
from assembly in AppDomain.CurrentDomain.GetAssemblies().AsParallel()
from classType in assembly.GetTypes()
let attribute = classType.GetCustomAttribute
assembly.GetTypes() is probably throwing an exception in Assets\MixedRealityToolkit\Inspectors\ServiceInspectors\ServiceFacadeInspector.cs. I have seen this issue in some apps which import natively built dll's in unity.
this has been confirmed to be fixed in Unity 2018.4.
@davidkline-ms , I'm seeing this on Unity 2018.4.5f. What precise build is known to have fixed this?
Should MRTK just implement the extension method workaround described here: https://stackoverflow.com/questions/7889228/how-to-prevent-reflectiontypeloadexception-when-calling-assembly-gettypes
I'm seeing this on Unity 2018.4.5f. What precise build is known to have fixed this?
Interesting. We had been testing on 2018.4.4. It is possible that the apparent fix was a timing change that may have regressed.
Describe the bug
A constant error spam (5 errors per second) originating from the MRTK editor UI that makes the app unusable in the editor and drastically slows Unity's performance.
Looks like this is the callstack:
To reproduce
Steps to reproduce the behavior:
Expected behavior
No errors
Screenshots
Your Setup (please complete the following information)
Target Platform (please complete the following information)
Additional context
The issue went away when we upgraded the project to Unity 2108.4.4f1; the latest LTS. Its not clear exactly what in Unity2018.3.10.