Jump to content

Deleting Shear Critters Crashes Game


Kastrella
  • Branch: Live Branch Version: Windows Fixed

After shearing a critter if you delete the critter the game will crash. The happen to both dreckos and delecta voles.


Steps to Reproduce

Have the sandbox tool of deletion on, shear a drecko or delecta vole. After they are finish, delete the critter. The game will then crash.

DxDiag.txt




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.

If you delete the sheared drecko a couple of seconds after shearing, the game doesn't crash.
You can also "delete" critters using the "clean floor" tool or "remove critters" tool.
The game crashes if you delete a drecko while a dupe is calling it to be sheared or the second the dupe finished shearing the drecko. 

Spoiler

Crash while the dupe was calling for the drecko:


Exception in: (Drecko).RanchedStates.root. 
System.NullReferenceException: Object reference not set to an instance of an object
  at RanchedStates+Instance.GetRanchStation () [0x00006] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at RanchedStates+Instance.AbandonedRanchStation () [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at RanchedStates+<>c.<InitializeStates>b__7_0 (RanchedStates+Instance smi) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].ExecuteActions (StateMachine`4+State[StateMachineType,StateMachineInstanceType,MasterType,DefType] state, System.Collections.Generic.List`1[T] actions) [0x00048] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 

  at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 
  at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].ExecuteActions (StateMachine`4+State[StateMachineType,StateMachineInstanceType,MasterType,DefType] state, System.Collections.Generic.List`1[T] actions) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].PopState () [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].StopSM (System.String reason) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at Chore.End (System.String reason) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at Chore.Fail (System.String reason) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at ChoreDriver+StatesInstance.EndChore (System.String reason) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at ChoreDriver+States+<>c.<InitializeStates>b__5_4 (ChoreDriver+StatesInstance smi) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].ExecuteActions (StateMachine`4+State[StateMachineType,StateMachineInstanceType,MasterType,DefType] state, System.Collections.Generic.List`1[T] actions) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].PopState () [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].StopSM (System.String reason) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachineController.OnTargetDestroyed (System.Object data) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachineController+<>c.<.cctor>b__30_0 (StateMachineController component, System.Object data) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at EventSystem+IntraObjectHandler`1[ComponentType].Trigger (UnityEngine.GameObject gameObject, System.Object eventData) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at TracesExtesions.DeleteObject (UnityEngine.GameObject go) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at Util.KDestroyGameObject (UnityEngine.GameObject original) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at SandboxDestroyerTool.OnPaintCell (System.Int32 cell, System.Int32 distFromOrigin) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at BrushTool.Paint () [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at BrushTool.OnLeftClickDown (UnityEngine.Vector3 cursor_pos) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at PlayerController.OnKeyDown (KButtonEvent e) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at KInputHandler.HandleKeyDown (KButtonEvent e) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at KInputHandler.HandleKeyDown (KButtonEvent e) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at KInputHandler.HandleEvent (KInputEvent e) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at KInputController.Dispatch () [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at KInputManager.Dispatch () [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at KInputManager.Update () [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at GameInputManager.Update () [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at Global.Update () [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
Build: U42-514967-SD

 

Share this comment


Link to comment
Share on other sites

13 hours ago, sakura_sk said:

If you delete the sheared drecko a couple of seconds after shearing, the game doesn't crash.
You can also "delete" critters using the "clean floor" tool or "remove critters" tool.
The game crashes if you delete a drecko while a dupe is calling it to be sheared or the second the dupe finished shearing the drecko. 

  Reveal hidden contents

Crash while the dupe was calling for the drecko:


Exception in: (Drecko).RanchedStates.root. 
System.NullReferenceException: Object reference not set to an instance of an object
  at RanchedStates+Instance.GetRanchStation () [0x00006] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at RanchedStates+Instance.AbandonedRanchStation () [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at RanchedStates+<>c.<InitializeStates>b__7_0 (RanchedStates+Instance smi) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].ExecuteActions (StateMachine`4+State[StateMachineType,StateMachineInstanceType,MasterType,DefType] state, System.Collections.Generic.List`1[T] actions) [0x00048] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 

  at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 
  at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].ExecuteActions (StateMachine`4+State[StateMachineType,StateMachineInstanceType,MasterType,DefType] state, System.Collections.Generic.List`1[T] actions) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].PopState () [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].StopSM (System.String reason) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at Chore.End (System.String reason) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at Chore.Fail (System.String reason) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at ChoreDriver+StatesInstance.EndChore (System.String reason) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at ChoreDriver+States+<>c.<InitializeStates>b__5_4 (ChoreDriver+StatesInstance smi) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].ExecuteActions (StateMachine`4+State[StateMachineType,StateMachineInstanceType,MasterType,DefType] state, System.Collections.Generic.List`1[T] actions) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].PopState () [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].StopSM (System.String reason) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachineController.OnTargetDestroyed (System.Object data) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at StateMachineController+<>c.<.cctor>b__30_0 (StateMachineController component, System.Object data) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at EventSystem+IntraObjectHandler`1[ComponentType].Trigger (UnityEngine.GameObject gameObject, System.Object eventData) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at TracesExtesions.DeleteObject (UnityEngine.GameObject go) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at Util.KDestroyGameObject (UnityEngine.GameObject original) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at SandboxDestroyerTool.OnPaintCell (System.Int32 cell, System.Int32 distFromOrigin) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at BrushTool.Paint () [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at BrushTool.OnLeftClickDown (UnityEngine.Vector3 cursor_pos) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at PlayerController.OnKeyDown (KButtonEvent e) [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
  at KInputHandler.HandleKeyDown (KButtonEvent e) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at KInputHandler.HandleKeyDown (KButtonEvent e) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at KInputHandler.HandleEvent (KInputEvent e) [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at KInputController.Dispatch () [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at KInputManager.Dispatch () [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at KInputManager.Update () [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at GameInputManager.Update () [0x00000] in <8c239b169b544cce8b8bc7ddd2d09e10>:0 
  at Global.Update () [0x00000] in <1c7e9ccb4aa844e2be4538990aabf98e>:0 
Build: U42-514967-SD

 

Didn't notice. Here is videos of my crashes with more log.

Player.log Player-prev.log Player-prev.log Player.log

Edited by Kastrella
Logs

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