Jump to content

Crash on rocket landing


stgo
  • Branch: Preview Branch Version: Windows Fixed

The game crashes after a few minute after this save is loaded with a NULL pointer

 

Exception in: (HabitatModuleSmall).LaunchableRocketCluster+States.root.not_grounded.land.
System.NullReferenceException: Object reference not set to an instance of an object
  at CargoBay.SpawnResources (System.Object data) [0x00001] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Space\CargoBay.cs:64
  at CargoBay.OnLand (System.Object data) [0x00001] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Space\CargoBay.cs:145
  at CargoBay+<>c.<.cctor>b__16_1 (CargoBay component, System.Object data) [0x00001] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Space\CargoBay.cs:24
  at EventSystem+IntraObjectHandler`1[ComponentType].Trigger (UnityEngine.GameObject gameObject, System.Object eventData) [0x00022] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\Plugins\Klei\util\EventSystem.cs:109
  at EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) [0x0003b] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\Plugins\Klei\util\EventSystem.cs:146
  at KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) [0x0001c] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\Plugins\Klei\util\KMonoBehaviour.cs:411
  at LaunchableRocketCluster+States.<InitializeStates>b__5_10 (LaunchableRocketCluster+StatesInstance smi) [0x00035] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Space\LaunchableRocketCluster.cs:362
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].ExecuteActions (StateMachine`4+State[StateMachineType,StateMachineInstanceType,MasterType,DefType] state, System.Collections.Generic.List`1[T] actions) [0x00057] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\ai\statemachine\StateMachine.cs:874

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)
DebugUtil:LogException(Object, String, Exception) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/DebugUtil.cs:201)
GenericInstance:ExecuteActions(State, List`1) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:908)
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)
Transition:Evaluate(StatesInstance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:1280)
Context:Set(Single, StatesInstance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:1356)
Parameter`1:Set(Single, StatesInstance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:1238)
StatesInstance:set_DistanceAboveGround(Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/Space/LaunchableRocketCluster.cs:73)
StatesInstance:LandingLoop(Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/Space/LaunchableRocketCluster.cs:221)
<>c:<InitializeStates>b__5_8(StatesInstance, Single) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/Space/LaunchableRocketCluster.cs:352)
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)

 





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.


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...