Jump to content

Undocking after docking causes the game to think the ship is exploded


AmberAtelier

Recommended Posts

I undocked the docking ports and it says my ship exploded and the camera drifts away and I can see that nothing has happened to the ship. If go into the tracking station and switch back to the ship everything is fine except that I can't undock because the button is gone.

Link to comment
Share on other sites

Had the same issue with Clamp-O-Tron docking ports. Two of them coupled at launch seperating transferstage and lander. When seperating in space. The vehicle is considered destroyed by the game but in fact it stays intact and dockingports are still connected but undocking button has disappeared. 

Link to comment
Share on other sites

A further complication is that I did have this error (ship seems to explode), went out to the tracking station, returned to control the ship (which was now listed as an unnamed ship). It seemed fine - the ship was ... sort of undocked. That is, I could move maneuvering jets to move my lander away from the main ship... but the ship still thought it was one single ship. The two physically separate pieces were still seen as the same single controllable entity. When I used SAS to turn to retrograde, both parts started to jet trying to orient themselves AS A UNIT, which because they were separate kept not working. The gap between them continued to grow because they were thrusting in ways that changed their relative velocities, but it seemed to be trying to calculate as if their center of mass was the center they were trying to rotate around.

s1ezvme.png

You can see here, the tuna-can lander to the left of Kerbin, and the main ship to the lower-right, differently oriented and drifting apart. But the parts list shows them as both being parts in one ship, and the kerbal crew list shows all five slots, instead of two with Jeb and Bob, then three with Tanrim and two empty chairs.

Link to comment
Share on other sites

When a ship with two separate ships connected by docking port from in the VAB become separated in flight, the ship “destroys” itself or in other words the tracking center does not detect the ship as 2 separated ships but rather as a single destroyed ship. The camera also focuses on the center of the separated crafts, so when they become further apart the camera is focused on the point directly between them.

Link to comment
Share on other sites

To give an update. I found a way to avoid the ship crash albeit with a possible not great side effect. Turn on warp and undock. I did this under 100x warp. Unfortunately the undocked craft gets accelerated outwards. In LKO it got sent out of Kerbins SOI and towards Moho. Since I was in my shuttle still in LKO and had no use left for the jettisoned craft this worked okay for me.
Link to comment
Share on other sites

Was able to replicate with my Mun transport/lander.

Error text in player.log: 

[Physics] Destroying Joint: dockingport_1v_inline.prefab_102104c5-5986-4117-8030-ada9f4e6b8f8 (UnityEngine.GameObject) -> dockingport_1v_inline.prefab_ce29eba7-08e2-4557-9043-9d096770efc7 (UnityEngine.Rigidbody). Owner: 88698016-6dfd-441e-a81b-dc485ad617bd
[Simulation] Destroying ViewObject: 88698016-6dfd-441e-a81b-dc485ad617bd (KSP.Sim.impl.SimulationObjectView)
[Flight] Destroying SimObject 88698016-6dfd-441e-a81b-dc485ad617bd
Toggle: BTN-Stability-Assist changed to: False - CurActive: none
Unable to Bind the dropdown fully as the DropdownData is missing. Binder: KSP.UI.Binding.UIValue_WriteString_DropdownOptions on BTN-Dropdown
Unable to Bind the dropdown fully as the DropdownData is missing. Binder: KSP.UI.Binding.UIValue_WriteString_DropdownOptions on BTN-Dropdown
[Simulation] Promoting KSP.Sim.impl.PartComponent to vessel using pending promotion Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Flight] [Vessel][CommandEntry] speedMode changed from Orbit to Surface
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] Part Owner changed for KSP.Sim.impl.PartComponent to vessel using new Guid fc9be8ea-ef09-4eb5-af0b-4553285a75ec
[Simulation] [Staging][CommandEntry]<5a75ec>:  Resetting all Staging Data...
Uploading Crash Report
NullReferenceException: Object reference not set to an instance of an object
  at KSP.Sim.impl.SpaceSimulation.SplitCombinedVesselSimObject (KSP.Sim.impl.VesselComponent combinedVessel, KSP.Sim.impl.IGGuid detachingPartId) [0x000ab] in <8c5bdf369a8c45f68951f69eb825ef73>:0 
  at KSP.Modules.Module_DockingNode.UndockInternal () [0x00204] in <8c5bdf369a8c45f68951f69eb825ef73>:0 
  at KSP.Modules.Module_DockingNode.Undock () [0x00009] in <8c5bdf369a8c45f68951f69eb825ef73>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <695d1cc93cca45069c528c15c9fdd749>:0 
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000e7] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00008] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at KSP.Api.CoreTypes.DelegateAction.InternalInvoke (System.Boolean catchExceptions, System.Boolean fillArgsWithoutDefault, System.Object[] args) [0x00029] in <8c5bdf369a8c45f68951f69eb825ef73>:0 
  at KSP.Api.CoreTypes.DelegateAction.Invoke (System.Object[] args) [0x00000] in <8c5bdf369a8c45f68951f69eb825ef73>:0 
  at UIAction_Void_Button.OnButtonLeftDown () [0x0000b] in <8c5bdf369a8c45f68951f69eb825ef73>:0 
  at UnityEngine.Events.InvokableCall.Invoke () [0x00010] in <25a85da7c6f04932b86e339dfd12957d>:0 
  at UnityEngine.Events.UnityEvent.Invoke () [0x00022] in <25a85da7c6f04932b86e339dfd12957d>:0 
  at UnityEngine.UI.ButtonExtended.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x0003a] in <8c5bdf369a8c45f68951f69eb825ef73>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00007] in <6026956e4abc48a7aa322d4d816d9190>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x0006c] in <6026956e4abc48a7aa322d4d816d9190>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)

There are further [General] Unable to instantiate new ViewObject for OwnerPlayerId=#1 errors afterwards, which I assume are why the camera stays still and doesn't follow the object.

Looking at the save file, it most destroys the joint between the docking ports but moves the entire craft to the new vessel SimObject. If you reset the vessel's OAB root node Guid, you can cut and paste from the save file into the VAB and it pastes them as two separated vessels. However if you go back to the tracking station and regain control of your vessel that way, the option to undock is gone from both docking ports (due to the connection between them being gone).

Link to comment
Share on other sites

×
×
  • Create New...