This is minor fix for ReflectionTypeLoadException.
Some large VRChat projects can contain problematic and/or outdated 3rd party assemblies that can not be fully loaded. This does not cause any compilation errors or any other kind of problems in Unity Editor or VRCSDK if broken features is not used. However, if this kind of assembly is inspected, then ReflectionTypeLoadException will be thrown.
In case of UdonSharp, this breaks udon scripts compilation at all, as UdonSharp inspects all loaded assemblies. I meet this error by myself before. And I meet people who encounter this problem time-to-time. I hope this will increase stability of projects using lots of assets from different sources.
This is minor fix for ReflectionTypeLoadException.
Some large VRChat projects can contain problematic and/or outdated 3rd party assemblies that can not be fully loaded. This does not cause any compilation errors or any other kind of problems in Unity Editor or VRCSDK if broken features is not used. However, if this kind of assembly is inspected, then ReflectionTypeLoadException will be thrown.
In case of UdonSharp, this breaks udon scripts compilation at all, as UdonSharp inspects all loaded assemblies. I meet this error by myself before. And I meet people who encounter this problem time-to-time. I hope this will increase stability of projects using lots of assets from different sources.