S-C-A-N / SCANsat

Real Scanning, Real Science, at Warp Speed!
217 stars 97 forks source link

Don't try to get exported types from dynamic modules #246

Closed GER-Space closed 7 years ago

GER-Space commented 7 years ago

as per https://github.com/blizzy78/ksp_toolbar/pull/39 SCANsat needs a small update, so the errors go away.

It's only a issue with 1.2 when the newest dev-build of ContractConfiguration is installed.

' ImprovedAddonLoader: Creating addon 'SCANtoolbar'

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

NotSupportedException: The invoked member is not supported in a dynamic module. at System.Reflection.Emit.AssemblyBuilder.GetExportedTypes () [0x00000] in :0 at SCANsat.SCAN_Toolbar.ToolbarTypes.getType (System.String name) [0x00000] in :0 at SCANsat.SCAN_Toolbar.ToolbarManager.get_Instance () [0x00000] in :0 at SCANsat.SCAN_Toolbar.ToolbarManager.get_ToolbarAvailable () [0x00000] in :0 at SCANsat.SCAN_Toolbar.SCANtoolbar..ctor () [0x00000] in :0 UnityEngine.GameObject:Internal_AddComponentWithType(Type) UnityEngine.GameObject:AddComponent(Type) SCANsat.SCAN_Platform.CustomAddonLoader:OnLevelWasLoaded(Int32) '

DMagic1 commented 7 years ago

Duplicate #244