Jump to content

Occasional crash with fetch chores


MiniDeathStar
  • Branch: Preview Branch Version: Windows Pending

Game occasionally crashes randomly on the Ceres planetoid, and it seems to be related to broken fetch chores (given as invalid amount <= 0). I don't know if that has to do with ice melting or oxylite sublimating.

Invalid amount: -2.980232E-08

UnityEngine.Debug:LogError (object)
Debug:LogError (object) (at /home/build/workspace/game/Assets/Plugins/Debug.cs:153)
FetchAreaChore/StatesInstance/Reservation:.ctor (ChoreConsumer,Pickupable,single) (at /home/build/workspace/game/Assets/scripts/ai/chores/FetchAreaChore.cs:134)
FetchAreaChore/StatesInstance:ReservePickupables () (at /home/build/workspace/game/Assets/scripts/ai/chores/FetchAreaChore.cs:579)
FetchAreaChore/States/<>c:<InitializeStates>b__12_0 (FetchAreaChore/StatesInstance) (at /home/build/workspace/game/Assets/scripts/ai/chores/FetchAreaChore.cs:695)
StateMachine`4/GenericInstance<FetchAreaChore/States, FetchAreaChore/StatesInstance, FetchAreaChore, object>:ExecuteActions (StateMachine`4/State<FetchAreaChore/States, FetchAreaChore/StatesInstance, FetchAreaChore, object>,System.Collections.Generic.List`1<StateMachine/Action>) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/StateMachine.cs:920)
StateMachine`4/GenericInstance<FetchAreaChore/States, FetchAreaChore/StatesInstance, FetchAreaChore, object>:PushState (StateMachine/BaseState) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/StateMachine.cs:879)
StateMachine`4/GenericInstance<FetchAreaChore/States, FetchAreaChore/StatesInstance, FetchAreaChore, object>:GoTo (StateMachine/BaseState) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/StateMachine.cs:1176)
GameStateMachine`4/State/<>c__DisplayClass88_0<FetchAreaChore/States, FetchAreaChore/StatesInstance, FetchAreaChore, object>:<ToggleWork>b__1 (FetchAreaChore/StatesInstance,single) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:2320)
BucketUpdater`1<FetchAreaChore/StatesInstance>:Update (FetchAreaChore/StatesInstance,single) (at /home/build/workspace/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:96)
UpdateBucketWithUpdater`1<FetchAreaChore/StatesInstance>:Update (single) (at /home/build/workspace/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:79)
StateMachineUpdater/BucketGroup:AdvanceOneSubTick (single) (at /home/build/workspace/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:152)
StateMachineUpdater:AdvanceOneSimSubTick () (at /home/build/workspace/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:244)
Game:SimEveryTick (single) (at /home/build/workspace/game/Assets/scripts/game/Game.cs:1400)
Game:Update () (at /home/build/workspace/game/Assets/scripts/game/Game.cs:1376)

Build: U52-621068-SC

ETA: I got another crash twice, this time directly related to the ice melting machine. It really feels like melting ice is the cause of this. Attached are more logs.

Exception in: Worker.StartWork(IceKettleWorkable)
System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Component.GetComponentFastPath(UnityEngine.Component,System.Type,intptr)
  at UnityEngine.Component.GetComponent[T] () [0x00021] in <faa1d4bf73af4cbca302a933fa3e0da0>:0 
  at Workable.UpdateStatusItem (System.Object data) [0x00001] in /home/build/workspace/game/Assets/scripts/components/Workable.cs:262 
  at Workable.StartWork (Worker worker_to_start) [0x0001b] in /home/build/workspace/game/Assets/scripts/components/Workable.cs:319 
  at Worker.StartWork (Worker+StartWorkInfo start_work_info) [0x00271] in /home/build/workspace/game/Assets/scripts/components/Worker.cs:472 

UnityEngine.Debug:LogError (object,UnityEngine.Object)
Debug:LogError (object,UnityEngine.Object) (at /home/build/workspace/game/Assets/Plugins/Debug.cs:163)
DebugUtil:LogErrorArgs (UnityEngine.Object,object[]) (at /home/build/workspace/game/Assets/Plugins/Klei/util/DebugUtil.cs:219)
Worker:StartWork (Worker/StartWorkInfo) (at /home/build/workspace/game/Assets/scripts/components/Worker.cs:495)
GameStateMachine`4/State/<>c__DisplayClass93_0<FetchAreaChore/States, FetchAreaChore/StatesInstance, FetchAreaChore, object>:<DoPickup>b__0 (FetchAreaChore/StatesInstance) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:2449)
GameStateMachine`4/State/<>c__DisplayClass88_0<FetchAreaChore/States, FetchAreaChore/StatesInstance, FetchAreaChore, object>:<ToggleWork>b__0 (FetchAreaChore/StatesInstance) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:2299)
StateMachine`4/GenericInstance<FetchAreaChore/States, FetchAreaChore/StatesInstance, FetchAreaChore, object>:ExecuteActions (StateMachine`4/State<FetchAreaChore/States, FetchAreaChore/StatesInstance, FetchAreaChore, object>,System.Collections.Generic.List`1<StateMachine/Action>) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/StateMachine.cs:920)
StateMachine`4/GenericInstance<FetchAreaChore/States, FetchAreaChore/StatesInstance, FetchAreaChore, object>:PushState (StateMachine/BaseState) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/StateMachine.cs:879)
StateMachine`4/GenericInstance<FetchAreaChore/States, FetchAreaChore/StatesInstance, FetchAreaChore, object>:GoTo (StateMachine/BaseState) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/StateMachine.cs:1176)
GameStateMachine`4/EventTransitionData<FetchAreaChore/States, FetchAreaChore/StatesInstance, FetchAreaChore, object>:ExecuteTransition (FetchAreaChore/StatesInstance) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:259)
GameStateMachine`4/EventTransitionData<FetchAreaChore/States, FetchAreaChore/StatesInstance, FetchAreaChore, object>:OnCallback (FetchAreaChore/StatesInstance) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:269)
GameStateMachine`4/EventTransitionData/<>c__DisplayClass7_0<FetchAreaChore/States, FetchAreaChore/StatesInstance, FetchAreaChore, object>:<Register>b__0 (object) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:287)
EventSystem:Trigger (UnityEngine.GameObject,int,object) (at /home/build/workspace/game/Assets/Plugins/Klei/util/EventSystem.cs:162)
EventExtensions:Trigger (UnityEngine.GameObject,int,object) (at /home/build/workspace/game/Assets/Plugins/Klei/util/EventSystem.cs:585)
GameStateMachine`4/State/<>c__DisplayClass80_0<Navigator/States, Navigator/StatesInstance, Navigator, object>:<TriggerOnEnter>b__0 (Navigator/StatesInstance) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:2096)
StateMachine`4/GenericInstance<Navigator/States, Navigator/StatesInstance, Navigator, object>:ExecuteActions (StateMachine`4/State<Navigator/States, Navigator/StatesInstance, Navigator, object>,System.Collections.Generic.List`1<StateMachine/Action>) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/StateMachine.cs:920)
StateMachine`4/GenericInstance<Navigator/States, Navigator/StatesInstance, Navigator, object>:PushState (StateMachine/BaseState) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/StateMachine.cs:879)
StateMachine`4/GenericInstance<Navigator/States, Navigator/StatesInstance, Navigator, object>:GoTo (StateMachine/BaseState) (at /home/build/workspace/game/Assets/scripts/ai/statemachine/StateMachine.cs:1176)
Navigator:Stop (bool,bool) (at /home/build/workspace/game/Assets/scripts/components/Navigator.cs:511)
Navigator:AdvancePath (bool) (at /home/build/workspace/game/Assets/scripts/components/Navigator.cs:421)
TransitionDriver:UpdateTransition (single) (at /home/build/workspace/game/Assets/scripts/components/TransitionDriver.cs:822)
Navigator:SimEveryTick (single) (at /home/build/workspace/game/Assets/scripts/components/Navigator.cs:525)
Navigator/States/<>c:<InitializeStates>b__5_2 (Navigator/StatesInstance,single) (at /home/build/workspace/game/Assets/scripts/components/Navigator.cs:95)
BucketUpdater`1<Navigator/StatesInstance>:Update (Navigator/StatesInstance,single) (at /home/build/workspace/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:96)
UpdateBucketWithUpdater`1<Navigator/StatesInstance>:Update (single) (at /home/build/workspace/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:79)
StateMachineUpdater/BucketGroup:AdvanceOneSubTick (single) (at /home/build/workspace/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:152)
StateMachineUpdater:AdvanceOneSimSubTick () (at /home/build/workspace/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:244)
Game:SimEveryTick (single) (at /home/build/workspace/game/Assets/scripts/game/Game.cs:1400)
Game:Update () (at /home/build/workspace/game/Assets/scripts/game/Game.cs:1376)

Build: U52-621068-SC

 


Steps to Reproduce

Unclear, but seems to be related to duplicants trying to put melted ice into the machine or evaporated oxylite into a sconce.

Player.log

Player.log




User Feedback


There are no comments to display.



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