Jump to content

Launching rocket crashes the game


Parusoid
  • Branch: Live Branch Version: Windows Fixed

Error code
 

Spoiler

Exception in: Worker.StartWork(RocketControlStationLaunchWorkable)
System.NullReferenceException: Object reference not set to an instance of an object
  at CraftModuleInterface.DoLaunch () [0x00008] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Space\CraftModuleInterface.cs:458 
  at Clustercraft.Launch (System.Boolean automated) [0x00080] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Space\Clustercraft.cs:504 
  at RocketControlStation+States.LaunchRocket (RocketControlStation+StatesInstance smi) [0x00001] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Buildings\RocketControlStation.cs:213 
  at RocketControlStation+StatesInstance.LaunchRocket () [0x00001] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Buildings\RocketControlStation.cs:236 
  at RocketControlStationLaunchWorkable.OnStartWork (Worker worker) [0x00019] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Buildings\RocketControlStation.cs:266 
  at Workable.StartWork (Worker worker_to_start) [0x00037] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\components\Workable.cs:246 
  at Worker.StartWork (Worker+StartWorkInfo start_work_info) [0x0026c] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\components\Worker.cs:468 

UnityEngine.Debug:LogError(Object, Object)
Debug:LogError(Object, Object) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Debug.cs:152)
DebugUtil:LogErrorArgs(Object, Object[]) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/DebugUtil.cs:191)
Worker:StartWork(StartWorkInfo) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/components/Worker.cs:491)
<>c__DisplayClass81_0`1:<ToggleWork>b__0(StatesInstance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:2052)
<>c__DisplayClass80_0:<ToggleWork>b__0(StatesInstance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:1992)
GenericInstance:ExecuteActions(State, List`1) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:874)
GenericInstance:PushState(BaseState) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:833)
GenericInstance:GoTo(BaseState) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:1128)
EventTransitionData:ExecuteTransition(StatesInstance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:254)
EventTransitionData:OnCallback(StatesInstance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:264)
<>c__DisplayClass7_0:<Register>b__0(Object) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:280)
EventSystem:Trigger(GameObject, Int32, Object) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/EventSystem.cs:170)
EventExtensions:Trigger(GameObject, Int32, Object) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/EventSystem.cs:533)
<>c__DisplayClass73_0:<TriggerOnEnter>b__0(StatesInstance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:1828)
GenericInstance:ExecuteActions(State, List`1) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:874)
GenericInstance:PushState(BaseState) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:833)
GenericInstance:GoTo(BaseState) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:1128)
Navigator:Stop(Boolean, Boolean) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/components/Navigator.cs:461)
Navigator:AdvancePath(Boolean) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/components/Navigator.cs:338)
TransitionDriver:UpdateTransition(Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/components/TransitionDriver.cs:815)
Navigator:SimEveryTick(Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/components/Navigator.cs:475)
<>c:<InitializeStates>b__5_2(StatesInstance, Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/components/Navigator.cs:81)
BucketUpdater`1:Update(StatesInstance, Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:96)
UpdateBucketWithUpdater`1:Update(Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:79)
BucketGroup:AdvanceOneSubTick(Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:152)
StateMachineUpdater:AdvanceOneSimSubTick() (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:244)
Game:SimEveryTick(Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/Game.cs:1368)
Game:Update() (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/Game.cs:1344)

 

save file

Upon clicking "Launch" button on a rocket (sugar engine) built on starting planetoid the game crashes

Also the text above Launch button says "Tes Test Test!" instead of "Begin Launch Sequence"


Steps to Reproduce

Build rocket on starting planetoid and attempt to launch it




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

I have exactly the same bug!!

HAve the Tes Test Test!, then press launch button, it keeps idle for a bit, then crash!

Share this comment


Link to comment
Share on other sites

I loaded your save game and interestingly to me the text on the platform was normal (Begin launch sequence) but as soon as the dupe got onto the driver seat, the game crashed

Share this comment


Link to comment
Share on other sites

same here. 

Tried both platform and pilot module launch options. Both are crashing the game when the launch button is pressed. 

The text behaves very strangely. It is alternating when I mouse over to two DIFFERENT messages. 

One is "Tes Test Test!" and another message is "begin launch sequence". 

 

CO2 engine - the first rocker start. The platform was built on teleporting asteroid.

I have to restart after the  new update as my old save was crashing every time I start or land rockets (some of them were in flight when the update came).

 

I used mods but removed them completely in the test file - the same problem persists.

Spoiler

Exception in: Worker.StartWork(RocketControlStationLaunchWorkable)
System.NullReferenceException: Object reference not set to an instance of an object
  at CraftModuleInterface.DoLaunch () [0x00008] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Space\CraftModuleInterface.cs:458 
  at Clustercraft.Launch (System.Boolean automated) [0x00080] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Space\Clustercraft.cs:504 
  at RocketControlStation+States.LaunchRocket (RocketControlStation+StatesInstance smi) [0x00001] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Buildings\RocketControlStation.cs:213 
  at RocketControlStation+StatesInstance.LaunchRocket () [0x00001] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Buildings\RocketControlStation.cs:236 
  at RocketControlStationLaunchWorkable.OnStartWork (Worker worker) [0x00019] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Buildings\RocketControlStation.cs:266 
  at Workable.StartWork (Worker worker_to_start) [0x00037] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\components\Workable.cs:246 
  at Worker.StartWork (Worker+StartWorkInfo start_work_info) [0x0026c] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\components\Worker.cs:468 

UnityEngine.Debug:LogError(Object, Object)
Debug:LogError(Object, Object) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Debug.cs:152)
DebugUtil:LogErrorArgs(Object, Object[]) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/DebugUtil.cs:191)
Worker:StartWork(StartWorkInfo) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/components/Worker.cs:491)
<>c__DisplayClass81_0`1:<ToggleWork>b__0(StatesInstance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:2052)
<>c__DisplayClass80_0:<ToggleWork>b__0(StatesInstance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:1992)
GenericInstance:ExecuteActions(State, List`1) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:874)
GenericInstance:PushState(BaseState) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:833)
GenericInstance:GoTo(BaseState) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:1128)
EventTransitionData:ExecuteTransition(StatesInstance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:254)
EventTransitionData:OnCallback(StatesInstance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:264)
<>c__DisplayClass7_0:<Register>b__0(Object) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:280)
EventSystem:Trigger(GameObject, Int32, Object) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/EventSystem.cs:170)
EventExtensions:Trigger(GameObject, Int32, Object) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/EventSystem.cs:533)
<>c__DisplayClass73_0:<TriggerOnEnter>b__0(StatesInstance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:1828)
GenericInstance:ExecuteActions(State, List`1) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:874)
GenericInstance:PushState(BaseState) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:833)
GenericInstance:GoTo(BaseState) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:1128)
Navigator:Stop(Boolean, Boolean) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/components/Navigator.cs:461)
Navigator:AdvancePath(Boolean) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/components/Navigator.cs:338)
TransitionDriver:UpdateTransition(Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/components/TransitionDriver.cs:815)
Navigator:SimEveryTick(Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/components/Navigator.cs:475)
<>c:<InitializeStates>b__5_2(StatesInstance, Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/components/Navigator.cs:81)
BucketUpdater`1:Update(StatesInstance, Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:96)
UpdateBucketWithUpdater`1:Update(Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:79)
BucketGroup:AdvanceOneSubTick(Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:152)
StateMachineUpdater:AdvanceOneSimSubTick() (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:244)
Game:SimEveryTick(Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/Game.cs:1368)
Game:Update() (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/Game.cs:1344)
 

 

Test.sav

Share this comment


Link to comment
Share on other sites

Changed Status to Fixed

This should be fixed in the next hotfix. Thanks for the report.

In the interim rebuilding the rocket will likely allow you to recover from the error. The launch pad rocket relationship needs to be repaired.

  • Thanks 1

Share this comment


Link to comment
Share on other sites

Workaround method till the patch arrives.

I actually made it working (great that it is fixed in the next patch). 

I rebuild the rocket platform (without touching the rocket itself) and the crashes stopped so I could continue with the game as it is (and with all mods).

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...