Jump to content

Random crashes at end of night


Danarca
  • Branch: Preview Branch Version: Windows Pending

At the end of night, at the same time the game is saving, the game will crash. Sometimes it happens 2 cycles after I start my save, other times I can go 10. But the threat of it looms every night.

 

While I can't say I've compared the crash log of every crash, it seems like it got something to do with the Plug Slugs I'm farming...

 

Here's the crash log of the newest crash:

Exception in: (Staterpillar).ProducePowerStates.root.generator.sleep. 
System.NullReferenceException: Object reference not set to an instance of an object
  at Staterpillar.EnableGenerator () [0x00008] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\Creatures\Staterpillar.cs:120 
  at ProducePowerStates.<InitializeStates>b__6_1 (ProducePowerStates+Instance smi) [0x0000e] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\Mods\Fauna\Chores\ProducePowerStates.cs:62 
  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)
EventTransitionData:ExecuteTransition(Instance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:252)
EventTransitionData:OnCallback(Instance) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:262)
<>c__DisplayClass7_0:<Register>b__0(Object) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:278)
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:1811)
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:811)
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)

 


Steps to Reproduce

Unfortunately, all you can do is "hope" it happens come morning. Sorry.

  • Like 3



User Feedback




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