Jump to content

Crash when clicking "copy" on a dev item


PROStefi1000
  • Branch: Live Branch Version: Windows Pending

I'm not sure what the "Live Branch/Preview Branch" thing is so I just clicked the one that sounds better.

I have a playthrough with sandbox mode and debug mode enabled. I experienced a crash when trying to click "copy" on a dev item but with both sandbox mode and insta-build mode (L-Ctrl+F4) off, I got a crash (something about an item not found in a dictionary).

I do have a lot of mods enabled but I'm pretty sure this issue has nothing to do with them.

Here's the text I see when I click "More Info":
 

KeyNotFoundException: The given key was not present in the dictionary.

System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <695d1cc93cca45069c528c15c9fdd749>:0)
PlanScreen.CopyBuildingOrder (BuildingDef buildingDef, System.String facadeID) (at <ade4ebd17f71495b9476a7e52f977fe6>:0)
PlanScreen.OnClickCopyBuilding () (at <ade4ebd17f71495b9476a7e52f977fe6>:0)
PlanScreen.<OnSpawn>b__76_0 () (at <ade4ebd17f71495b9476a7e52f977fe6>:0)
MultiToggle.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <ade4ebd17f71495b9476a7e52f977fe6>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <e9635660f69b4d9d84c085aeda3be353>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <e9635660f69b4d9d84c085aeda3be353>:0)
UnityEngine.EventSystems.EventSystem:Update()

Build: U52-626616-SCD


Steps to Reproduce
  1. Enable sandbox (maybe even debug mode is required) so you can build the dev buildings (like the dev generator).
  2. Turn sandbox mode on (don't turn it off yet).
  3. Click on one of the dev buildings (don't build it, just click on it).
  4. Close the build menu (you should have the dev building you clicked as the icon on the "copy" button.
  5. Turn off sandbox mode.
  6. Click the "copy" button and the game will crash.

DxDiag.txt




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