Jump to content

Crash with unknown cause - Assert failed: Cannot SetDestination to 3, 0 as there is no world there


RuiPalhas
  • Branch: Preview Branch Version: Windows Pending

Last night my game started crashing for an unknown reason. It might be related to Interplanetary packets on the way but not sure. It just crashes with a failed assert "Cannot SetDestination to 3, 0 as there is no world there" and also a null reference exception "Object reference not set to an instance of an object"

Spoiler

Assert failed: Cannot SetDestination to 3, 0 as there is no world there
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogError (object)
Debug:LogError (object) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Debug.cs:142)
Debug:Assert (bool,object) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Debug.cs:188)
ClusterDestinationSelector:SetDestination (AxialI) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Space/ClusterDestinationSelector.cs:43)
ClusterTraveler:RevalidatePath () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Space/ClusterTraveler.cs:178)
ClusterTraveler:Sim200ms (single) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Space/ClusterTraveler.cs:150)
SimAndRenderScheduler/Sim200msUpdater:Update (ISim200ms,single) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/SimAndRenderScheduler.cs:258)
UpdateBucketWithUpdater`1<ISim200ms>: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)

(Filename: C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Debug.cs Line: 142)

NullReferenceException: Object reference not set to an instance of an object
  at ClusterTraveler.OnClusterDestinationChanged (System.Object data) [0x0001c] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\game\Space\ClusterTraveler.cs:45 
  at ClusterTraveler+<>c.<.cctor>b__25_0 (ClusterTraveler cmp, System.Object data) [0x00000] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\game\Space\ClusterTraveler.cs:38 
  at EventSystem+IntraObjectHandler`1[ComponentType].Trigger (UnityEngine.GameObject gameObject, System.Object eventData) [0x00022] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\Klei\util\EventSystem.cs:111 
  at EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) [0x0003b] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\Klei\util\EventSystem.cs:148 
  at KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) [0x0001c] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\Klei\util\KMonoBehaviour.cs:411 
  at ClusterDestinationSelector.SetDestination (AxialI location) [0x00036] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\game\Space\ClusterDestinationSelector.cs:47 
  at ClusterTraveler.RevalidatePath () [0x00027] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\game\Space\ClusterTraveler.cs:178 
  at ClusterTraveler.Sim200ms (System.Single dt) [0x0018b] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\game\Space\ClusterTraveler.cs:150 
  at SimAndRenderScheduler+Sim200msUpdater.Update (ISim200ms updater, System.Single dt) [0x00001] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\Klei\util\SimAndRenderScheduler.cs:258 
  at UpdateBucketWithUpdater`1[DataType].Update (System.Single dt) [0x000b3] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\Klei\util\StateMachineUpdater.cs:79 
  at StateMachineUpdater+BucketGroup.AdvanceOneSubTick (System.Single dt) [0x00038] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\Klei\util\StateMachineUpdater.cs:152 
  at StateMachineUpdater.AdvanceOneSimSubTick () [0x00028] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\Plugins\Klei\util\StateMachineUpdater.cs:244 
  at Game.SimEveryTick (System.Single dt) [0x0007f] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\game\Game.cs:1372 
  at Game.Update () [0x0009c] in C:\jenkins_workspace\workspace\Preview_Simgame_Windows\game\Assets\scripts\game\Game.cs:1348 

(Filename: C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Space/ClusterTraveler.cs Line: 45)

 

Serene Crashpad Cycle 1310.sav


Steps to Reproduce

Just load the save attached, it should crash within 2 minutes of the game running (within half cycle at the most).




User Feedback


Just an update, I loaded the previous cycle auto-save and the issue didn't reoccur. I still haven't figured out what might have caused the crash since after repeating most of what I'd done the game didn't crash again...

The only thing I haven't done is send packages from the radioactive asteroid to the oil one, I had some packets on the way when the crash happened, not sure if related.

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