Sign in to follow this  

Game randomly crashing due ObjectDispenser


shai_hulud
  • Branch: Live Branch Version: Windows Pending
Quote

Exception in: (ObjectDispenser).ObjectDispenser+States.root.drop_item.
System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.GameObject.get_transform(UnityEngine.GameObject)
  at ObjectDispenser.DropHeldItems () [0x00031] in <f9baef9e89cf46d89f61eedc4adbd93b>:0
  at ObjectDispenser+States+<>c.<InitializeStates>b__5_4 (ObjectDispenser+Instance smi) [0x00006] in <f9baef9e89cf46d89f61eedc4adbd93b>: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 <f9baef9e89cf46d89f61eedc4adbd93b>:0

  at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
  at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <6a81623675ea4347b1cfdd3156c4d89d>:0
  at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <6a81623675ea4347b1cfdd3156c4d89d>:0
  at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <6a81623675ea4347b1cfdd3156c4d89d>: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 <f9baef9e89cf46d89f61eedc4adbd93b>:0
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].PopState () [0x00000] in <f9baef9e89cf46d89f61eedc4adbd93b>:0
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].GoTo (StateMachine+BaseState base_state) [0x00000] in <f9baef9e89cf46d89f61eedc4adbd93b>:0
  at GameStateMachine`4+EventTransitionData[StateMachineType,StateMachineInstanceType,MasterType,DefType].ExecuteTransition (StateMachineInstanceType smi) [0x00000] in <f9baef9e89cf46d89f61eedc4adbd93b>:0
  at GameStateMachine`4+EventTransitionData[StateMachineType,StateMachineInstanceType,MasterType,DefType].OnCallback (StateMachineInstanceType smi) [0x00000] in <f9baef9e89cf46d89f61eedc4adbd93b>:0
  at GameStateMachine`4+EventTransitionData+<>c__DisplayClass7_0[StateMachineType,StateMachineInstanceType,MasterType,DefType].<Register>b__0 (System.Object d) [0x00000] in <f9baef9e89cf46d89f61eedc4adbd93b>:0
  at EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) [0x00000] in <6a81623675ea4347b1cfdd3156c4d89d>:0
  at EventExtensions.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) [0x00000] in <6a81623675ea4347b1cfdd3156c4d89d>:0
  at KBatchedAnimController.TriggerStop () [0x00000] in <f9baef9e89cf46d89f61eedc4adbd93b>:0
  at AnimEventManager.Update () [0x00000] in <f9baef9e89cf46d89f61eedc4adbd93b>:0
  at Global.Update () [0x00000] in <f9baef9e89cf46d89f61eedc4adbd93b>:0
Build: U34-477203-SD

Random NRE, crashing game every 15-30 minutes

output_log.txt Player.log Player-prev.log


Steps to Reproduce

1) Load Save
2) Play some time, mark some items to sweep
3) ...
4) CRASH!

Sign in to follow this  


User Feedback


interesting! the error seems to imply it was a built building of some kind like a machine or a locker that tried to drop something.. got mods loaded for custom buildings at all?

Share this comment


Link to comment
Share on other sites

>got mods loaded for custom buildings at all?

No, no mods are installed, plain (DLC) game. I deconstructed/reconstructed every Dispenser and crash is gone.

Edited by shai_hulud

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