I have been getting multiple crashes when attacking critters, see crash messages below. It happens pretty consistently when I launch an eradication command on a massive amount of Pips, for example. Some other times, dupes attack critters just fine, but if I cancel the attack commands the game instantly crashes.
Let me know if having a save file uploaded would be helpful - otherwise I will only attach the Player.log.
Exception in: (Minion).ThreatMonitor.root.threatened.duplicant.ShouldFight.
System.NullReferenceException: Object reference not set to an instance of an object
at AttackChore.End (System.String reason) [0x00008] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\chores\AttackChore.cs:213
at Chore.Cancel (System.String reason) [0x0006b] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\demands\Chore.cs:815
at GameStateMachine`4+State[StateMachineType,StateMachineInstanceType,MasterType,DefType].ClearChore (StateMachineInstanceType smi, System.Int32 chore_data_idx, System.Int32 callback_data_idx) [0x00063] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\statemachine\GameStateMachine.cs:1519
at GameStateMachine`4+State+<>c__DisplayClass60_0[StateMachineType,StateMachineInstanceType,MasterType,DefType].<ToggleChore>b__1 (StateMachineInstanceType smi) [0x00001] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\statemachine\GameStateMachine.cs:1608
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\Preview_Simgame_Windows\game\Assets\scripts\ai\statemachine\StateMachine.cs:875
UnityEngine.Debug:LogError (object,UnityEngine.Object)
Debug:LogError (object,UnityEngine.Object) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Debug.cs:152)
DebugUtil:LogErrorArgs (UnityEngine.Object,object[]) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/DebugUtil.cs:191)
DebugUtil:LogException (UnityEngine.Object,string,System.Exception) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/DebugUtil.cs:201)
StateMachine`4/GenericInstance<ThreatMonitor, ThreatMonitor/Instance, IStateMachineTarget, ThreatMonitor/Def>:ExecuteActions (StateMachine`4/State<ThreatMonitor, ThreatMonitor/Instance, IStateMachineTarget, ThreatMonitor/Def>,System.Collections.Generic.List`1<StateMachine/Action>) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:909)
StateMachine`4/GenericInstance<ThreatMonitor, ThreatMonitor/Instance, IStateMachineTarget, ThreatMonitor/Def>:PopState () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:972)
StateMachine`4/GenericInstance<ThreatMonitor, ThreatMonitor/Instance, IStateMachineTarget, ThreatMonitor/Def>:GoTo (StateMachine/BaseState) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:1136)
GameStateMachine`4/State/TransitionUpdater<ThreatMonitor, ThreatMonitor/Instance, IStateMachineTarget, ThreatMonitor/Def>:Update (ThreatMonitor/Instance,single) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ai/statemachine/GameStateMachine.cs:2411)
UpdateBucketWithUpdater`1<ThreatMonitor/Instance>:Update (single) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:79)
StateMachineUpdater/BucketGroup:AdvanceOneSubTick (single) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:152)
StateMachineUpdater:AdvanceOneSimSubTick () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:244)
Game:SimEveryTick (single) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Game.cs:1372)
Game:Update () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Game.cs:1348)
Build: U39-489490-S
This seems like a different crash while attacking:
Exception in: (Nisbet).AttackChore+States.GoTo((Stop))
System.NullReferenceException: Object reference not set to an instance of an object
at AttackChore.End (System.String reason) [0x00008] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\chores\AttackChore.cs:213
at Chore.Cancel (System.String reason) [0x0006b] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\demands\Chore.cs:815
at Chore.Fail (System.String reason) [0x00033] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\demands\Chore.cs:795
at Chore.OnStateMachineStop (System.String reason, StateMachine+Status status) [0x00016] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\demands\Chore.cs:831
at AttackChore.OnStateMachineStop (System.String reason, StateMachine+Status status) [0x00008] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\chores\AttackChore.cs:139
at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].StopSM (System.String reason) [0x000c6] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\statemachine\StateMachine.cs:1049
at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].GoTo (StateMachine+BaseState base_state) [0x00125] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\ai\statemachine\StateMachine.cs:1110
UnityEngine.Debug:LogError (object,UnityEngine.Object)
Debug:LogError (object,UnityEngine.Object) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Debug.cs:152)
DebugUtil:LogErrorArgs (UnityEngine.Object,object[]) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/DebugUtil.cs:191)
StateMachine`4/GenericInstance<AttackChore/States, AttackChore/StatesInstance, AttackChore, object>:GoTo (StateMachine/BaseState) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:1163)
StateMachine`4/Parameter`1/Transition<AttackChore/States, AttackChore/StatesInstance, AttackChore, object, UnityEngine.GameObject>:Evaluate (AttackChore/StatesInstance) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:1293)
StateMachine`4/Parameter`1/Context<AttackChore/States, AttackChore/StatesInstance, AttackChore, object, UnityEngine.GameObject>:Set (UnityEngine.GameObject,AttackChore/StatesInstance) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:1369)
StateMachine`4/TargetParameter/Context<AttackChore/States, AttackChore/StatesInstance, AttackChore, object>:Set (UnityEngine.GameObject,AttackChore/StatesInstance) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:1960)
StateMachine`4/TargetParameter/Context<AttackChore/States, AttackChore/StatesInstance, AttackChore, object>:OnObjectDestroyed (object) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ai/statemachine/StateMachine.cs:1965)
EventSystem:Trigger (UnityEngine.GameObject,int,object) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/EventSystem.cs:161)
KMonoBehaviour:Trigger (int,object) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/KMonoBehaviour.cs:411)
KPrefabID:OnCleanUp () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/KPrefabID.cs:362)
KMonoBehaviour:OnDestroy () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/KMonoBehaviour.cs:230)
Build: U39-489490-S
- Attack a lot of critters ( it doesn't seem to happen systematically every single time).
- Cancelling attack order while dupes are fighting sometimes triggers the crash
-
1
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 accountSign in
Already have an account? Sign in here.
Sign In Now