MOARdV / AvionicsSystems

MOARdV's Avionics Systems for Kerbal Space Program - a new generation of IVA enhancement.
Other
52 stars 26 forks source link

KSP 1.10 breaks stuff #291

Closed MOARdV closed 4 years ago

MOARdV commented 4 years ago

Generalizing to KSP 1.10 breaks:

MOARdV commented 4 years ago

Doesn't occur in 1.9. Looks like 1.10 breaks something.

MOARdV commented 4 years ago

Exception stack from item 1:

[ERR 13:06:32.952] [AvionicsSystems] INITIALIZATION ERROR: Action fc.SetSASMode(1) triggered an exception
[ERR 13:06:32.952] [MASFlightComputer] Action fc.SetSASMode(1) triggered exception:
[ERR 13:06:32.953] [MASFlightComputer] System.NullReferenceException: Object reference not set to an instance of an object
  at AvionicsSystems.MASFlightComputerProxy.TrySetSASMode (VesselAutopilot+AutopilotMode mode) [0x00043] in <40ea1bba0cb943a78937ff6bf85192ca>:0 
  at AvionicsSystems.MASFlightComputerProxy.SetSASMode (System.Double mode) [0x00048] in <40ea1bba0cb943a78937ff6bf85192ca>:0 
  at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object,object[])
  at MoonSharp.Interpreter.Interop.MethodMemberDescriptor.Execute (MoonSharp.Interpreter.Script script, System.Object obj, MoonSharp.Interpreter.ScriptExecutionContext context, MoonSharp.Interpreter.CallbackArguments args) [0x00041] in <71c0e50aec81409a954858b18cac9894>:0 
  at MoonSharp.Interpreter.Interop.OverloadedMethodMemberDescriptor.PerformOverloadedCall (MoonSharp.Interpreter.Script script, System.Object obj, MoonSharp.Interpreter.ScriptExecutionContext context, MoonSharp.Interpreter.CallbackArguments args) [0x0004b] in <71c0e50aec81409a954858b18cac9894>:0 
  at MoonSharp.Interpreter.Interop.OverloadedMethodMemberDescriptor+<>c__DisplayClass33_0.<GetCallback>b__0 (MoonSharp.Interpreter.ScriptExecutionContext context, MoonSharp.Interpreter.CallbackArguments args) [0x00000] in <71c0e50aec81409a954858b18cac9894>:0 
  at MoonSharp.Interpreter.CallbackFunction.Invoke (MoonSharp.Interpreter.ScriptExecutionContext executionContext, System.Collections.Generic.IList`1[T] args, System.Boolean isMethodCall) [0x0004c] in <71c0e50aec81409a954858b18cac9894>:0 
  at MoonSharp.Interpreter.Execution.VM.Processor.Internal_ExecCall (System.Int32 argsCount, System.Int32 instructionPtr, MoonSharp.Interpreter.CallbackFunction handler, MoonSharp.Interpreter.CallbackFunction continuation, System.Boolean thisCall, System.String debugText, MoonSharp.Interpreter.DynValue unwindHandler) [0x00184] in <71c0e50aec81409a954858b18cac9894>:0 
  at MoonSharp.Interpreter.Execution.VM.Processor.Processing_Loop (System.Int32 instructionPtr) [0x002d6] in <71c0e50aec81409a954858b18cac9894>:0 
  at MoonSharp.Interpreter.Execution.VM.Processor.Call (MoonSharp.Interpreter.DynValue function, MoonSharp.Interpreter.DynValue[] args) [0x00075] in <71c0e50aec81409a954858b18cac9894>:0 
  at MoonSharp.Interpreter.Script.Call (MoonSharp.Interpreter.DynValue function, MoonSharp.Interpreter.DynValue[] args) [0x0009c] in <71c0e50aec81409a954858b18cac9894>:0 
  at MoonSharp.Interpreter.Script.Call (MoonSharp.Interpreter.DynValue function) [0x00000] in <71c0e50aec81409a954858b18cac9894>:0 
  at AvionicsSystems.MASFlightComputer+<>c__DisplayClassd5.<GetAction>b__d2 () [0x00000] in <40ea1bba0cb943a78937ff6bf85192ca>:0