Kerbal Engineer Redux

Kerbal Engineer Redux

2M Downloads

Crash by moving a vessel downwards in VAB

Gordon-Dry opened this issue ยท 0 comments

commented

I moved a vessel (Luciole) downwards by SHIFT+click selecting it and moving it with the PageDown key.

It disappeared, the log was spammed.

1x this:

KerbalEngineer -> Exception SimManager.StartSimulation() // System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
  at KerbalEngineer.VesselSimulator.PartSim.New (Part p, System.Int32 id, System.Double atmosphere, KerbalEngineer.LogMsg log) [0x00012] in <134deb60e87843589b7ea1a020650b28>:0 
  at KerbalEngineer.VesselSimulator.Simulation.PrepareSimulation (KerbalEngineer.LogMsg _log, System.Collections.Generic.List`1[T] parts, System.Double theGravity, System.Double theAtmosphere, System.Double theMach, System.Boolean dumpTree, System.Boolean vectoredThrust, System.Boolean fullThrust) [0x00185] in <134deb60e87843589b7ea1a020650b28>:0 
  at KerbalEngineer.VesselSimulator.SimManager.StartSimulation () [0x000ba] in <134deb60e87843589b7ea1a020650b28>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

KerbalEngineer ->   at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
  at KerbalEngineer.VesselSimulator.PartSim.New (Part p, System.Int32 id, System.Double atmosphere, KerbalEngineer.LogMsg log) [0x00012] in <134deb60e87843589b7ea1a020650b28>:0 
  at KerbalEngineer.VesselSimulator.Simulation.PrepareSimulation (KerbalEngineer.LogMsg _log, System.Collections.Generic.List`1[T] parts, System.Double theGravity, System.Double theAtmosphere, System.Double theMach, System.Boolean dumpTree, System.Boolean vectoredThrust, System.Boolean fullThrust) [0x00185] in <134deb60e87843589b7ea1a020650b28>:0 
  at KerbalEngineer.VesselSimulator.SimManager.StartSimulation () [0x000ba] in <134deb60e87843589b7ea1a020650b28>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading Crash Report
NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Object.GetName(UnityEngine.Object)
  at UnityEngine.Object.get_name () [0x00001] in <12e76cd50cc64cf19e759e981cb725af>:0 
  at PreFlightTests.StationHubAttachments.TestCondition () [0x0003f] in <cd473063d3a2482f8d93d388d0c95035>:0 
  at PreFlightTests.DesignConcernBase.Test () [0x00000] in <cd473063d3a2482f8d93d388d0c95035>:0 
  at KSP.UI.Screens.EngineersReport+TestWrapper.RunTest () [0x00006] in <cd473063d3a2482f8d93d388d0c95035>:0 
  at KSP.UI.Screens.EngineersReport+<RunTests>d__49.MoveNext () [0x000bb] in <cd473063d3a2482f8d93d388d0c95035>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <12e76cd50cc64cf19e759e981cb725af>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
 
(Filename: <12e76cd50cc64cf19e759e981cb725af> Line: 0)

KerbalEngineer -> Exception SimManager.StartSimulation() // System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
  at KerbalEngineer.VesselSimulator.PartSim.New (Part p, System.Int32 id, System.Double atmosphere, KerbalEngineer.LogMsg log) [0x00012] in <134deb60e87843589b7ea1a020650b28>:0 
  at KerbalEngineer.VesselSimulator.Simulation.PrepareSimulation (KerbalEngineer.LogMsg _log, System.Collections.Generic.List`1[T] parts, System.Double theGravity, System.Double theAtmosphere, System.Double theMach, System.Boolean dumpTree, System.Boolean vectoredThrust, System.Boolean fullThrust) [0x00185] in <134deb60e87843589b7ea1a020650b28>:0 
  at KerbalEngineer.VesselSimulator.SimManager.StartSimulation () [0x000ba] in <134deb60e87843589b7ea1a020650b28>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

KerbalEngineer ->   at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
  at KerbalEngineer.VesselSimulator.PartSim.New (Part p, System.Int32 id, System.Double atmosphere, KerbalEngineer.LogMsg log) [0x00012] in <134deb60e87843589b7ea1a020650b28>:0 
  at KerbalEngineer.VesselSimulator.Simulation.PrepareSimulation (KerbalEngineer.LogMsg _log, System.Collections.Generic.List`1[T] parts, System.Double theGravity, System.Double theAtmosphere, System.Double theMach, System.Boolean dumpTree, System.Boolean vectoredThrust, System.Boolean fullThrust) [0x00185] in <134deb60e87843589b7ea1a020650b28>:0 
  at KerbalEngineer.VesselSimulator.SimManager.StartSimulation () [0x000ba] in <134deb60e87843589b7ea1a020650b28>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

Uploading Crash Report
NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
  at ShipConstruct.SaveShip () [0x00290] in <cd473063d3a2482f8d93d388d0c95035>:0 
  at KerbalConstructionTime.KCT_BuildListVessel..ctor (ShipConstruct s, System.String ls, System.Double effCost, System.Double bP, System.String flagURL) [0x0002e] in <8c972eac957f45aca2a1940d3183a4ae>:0 
  at KerbalConstructionTime.KCT_Utilities.RecalculateEditorBuildTime (ShipConstruct ship) [0x00022] in <8c972eac957f45aca2a1940d3183a4ae>:0 
  at KerbalConstructionTime.KerbalConstructionTime.EditorRecalculation () [0x00015] in <8c972eac957f45aca2a1940d3183a4ae>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
 
(Filename: <cd473063d3a2482f8d93d388d0c95035> Line: 0)

after that endless spamming of this:

KerbalEngineer -> Exception SimManager.StartSimulation() // System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
  at KerbalEngineer.VesselSimulator.PartSim.New (Part p, System.Int32 id, System.Double atmosphere, KerbalEngineer.LogMsg log) [0x00012] in <134deb60e87843589b7ea1a020650b28>:0 
  at KerbalEngineer.VesselSimulator.Simulation.PrepareSimulation (KerbalEngineer.LogMsg _log, System.Collections.Generic.List`1[T] parts, System.Double theGravity, System.Double theAtmosphere, System.Double theMach, System.Boolean dumpTree, System.Boolean vectoredThrust, System.Boolean fullThrust) [0x00185] in <134deb60e87843589b7ea1a020650b28>:0 
  at KerbalEngineer.VesselSimulator.SimManager.StartSimulation () [0x000ba] in <134deb60e87843589b7ea1a020650b28>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

KerbalEngineer ->   at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component)
  at KerbalEngineer.VesselSimulator.PartSim.New (Part p, System.Int32 id, System.Double atmosphere, KerbalEngineer.LogMsg log) [0x00012] in <134deb60e87843589b7ea1a020650b28>:0 
  at KerbalEngineer.VesselSimulator.Simulation.PrepareSimulation (KerbalEngineer.LogMsg _log, System.Collections.Generic.List`1[T] parts, System.Double theGravity, System.Double theAtmosphere, System.Double theMach, System.Boolean dumpTree, System.Boolean vectoredThrust, System.Boolean fullThrust) [0x00185] in <134deb60e87843589b7ea1a020650b28>:0 
  at KerbalEngineer.VesselSimulator.SimManager.StartSimulation () [0x000ba] in <134deb60e87843589b7ea1a020650b28>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

I could not exit the VAB, I had to kill the process. The latest state of the craft is lost, I would have to build it again.

Log:
KSP logs 2021-11-15-1.zip