JPLRepo / AmpYear

A KSP plugin that better manages electricity adds Reserve Power, ION & PPT RCS. See the ReadMe file below for dependencies.
7 stars 7 forks source link

Reflection error with ContractConfigurator and KSP IE installed #51

Closed JPLRepo closed 7 years ago

JPLRepo commented 7 years ago

[LOG 08:46:22.382] [FLIGHT GLOBALS]: Switching To Vessel Test Rig ---------------------- [LOG 08:46:22.384] setting new dominant body: Kerbin FlightGlobals.mainBody: Kerbin [LOG 08:46:22.385] Reference Frame: Rotating [LOG 08:46:22.405] [Test Rig]: landed - waiting for ground contact to resume physics... [LOG 08:46:22.416] Camera Mode: AUTO [LOG 08:46:23.862] all systems started [EXC 08:46:23.884] NotSupportedException: The invoked member is not supported in a dynamic module. System.Reflection.Emit.AssemblyBuilder.GetExportedTypes () AY.KSPIEWrapper+<>c.b__7_0 (.LoadedAssembly a) System.Linq.Enumerable+c__Iterator122[AssemblyLoader+LoadedAssembly,System.Type].MoveNext () System.Collections.Generic.List1[System.Type].AddEnumerable (IEnumerable1 enumerable) System.Collections.Generic.List1[System.Type]..ctor (IEnumerable1 collection) System.Linq.Enumerable.ToList[Type] (IEnumerable1 source) AY.KSPIEWrapper.InitKSPIEWrapper () AY.AYController.Start () [WRN 08:46:23.912] DontDestroyOnLoad only work for root GameObjects or components on root GameObjects.

I missed a reflection wrapper for Interstellar Extended. So this bug will only occur if the user has that and Contract Configurator and AmpYear installed.