Jump to content

Crash for no reason


DJRicher
  • Branch: Live Branch Version: Windows Pending

After entering the game, it will crash in a very short time, and even after checking according to the instructions, it still cannot solve the problem.

I changed the size of the map and printed too many people, so I still can't find out the cause of the crash, because it's too chaotic, so I don't know how to correctly express the problem or find the same problem on the forum.

The crash of this archive happened at the end of June, and I didn't do anything that might lead to the crash when it happened.

The archive file is too big for me to send out.(about 50M)

the code is there

 

KeyNotFoundException: The given key was not present in the dictionary.
 
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <695d1cc93cca45069c528c15c9fdd749>:0)
Grid.SetRestriction (System.Int32 cell, System.Int32 minionInstanceID, Grid+Restriction+Directions directions) (at /home/build/workspace/game/Assets/scripts/game/Grid.cs:318)
AccessControl.SetGridRestrictions (KPrefabID kpid, AccessControl+Permission permission) (at /home/build/workspace/game/Assets/scripts/game/Reachability/AccessControl.cs:367)
AccessControl.SetPermission (MinionAssignablesProxy key, AccessControl+Permission permission) (at /home/build/workspace/game/Assets/scripts/game/Reachability/AccessControl.cs:214)
PassengerRocketModule.RefreshAccessStatus (MinionIdentity minion, System.Boolean restrict) (at /home/build/workspace/game/Assets/scripts/game/Space/PassengerRocketModule.cs:150)
PassengerRocketModule.RefreshOrders () (at /home/build/workspace/game/Assets/scripts/game/Space/PassengerRocketModule.cs:124)
PassengerRocketModule+<>c.<.cctor>b__24_1 (PassengerRocketModule cmp, System.Object data) (at /home/build/workspace/game/Assets/scripts/game/Space/PassengerRocketModule.cs:37)
EventSystem+IntraObjectHandler`1[ComponentType].Trigger (UnityEngine.GameObject gameObject, System.Object eventData) (at /home/build/workspace/game/Assets/Plugins/Klei/util/EventSystem.cs:112)
EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) (at /home/build/workspace/game/Assets/Plugins/Klei/util/EventSystem.cs:149)
KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) (at /home/build/workspace/game/Assets/Plugins/Klei/util/KMonoBehaviour.cs:453)
CraftModuleInterface.TriggerEventOnCraftAndRocket (GameHashes evt, System.Object data) (at /home/build/workspace/game/Assets/scripts/game/Space/CraftModuleInterface.cs:535)
CraftModuleInterface.Sim4000ms (System.Single dt) (at /home/build/workspace/game/Assets/scripts/game/Space/CraftModuleInterface.cs:479)
SimAndRenderScheduler+Sim4000msUpdater.Update (ISim4000ms updater, System.Single dt) (at /home/build/workspace/game/Assets/Plugins/Klei/util/SimAndRenderScheduler.cs:286)
UpdateBucketWithUpdater`1[DataType].Update (System.Single dt) (at /home/build/workspace/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:79)
StateMachineUpdater+BucketGroup.AdvanceOneSubTick (System.Single dt) (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 (System.Single dt) (at /home/build/workspace/game/Assets/scripts/game/Game.cs:1398)
Game.Update () (at /home/build/workspace/game/Assets/scripts/game/Game.cs:1374)
 
Build: U48-566813-S
(The reason why the version number is beta is because I hope Klei has fixed the bug in beta, but it still doesn't work.)

Steps to Reproduce

just enter the game and wait for a while:(

I did use bugs in this archive, such as overlapping buildings and melting rocket silos. But I didn't stop the collapse after I dismantled them.




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