Jump to content

Opening Colony Summary causes crash


Myke Moar
  • Branch: Preview Branch Version: Windows Fixed

Version: EX1 514-469859 image.png.7a3c97417fe240ab8536cb98c965eead.png

In my save game, attempting to open the Colony Summary screen results in a crash. I can crash it by clicking on the "Colony Achievement earned" banner and Colony Report > Colony Report button. The save file was generated before the big-merge update. The stack trace given in game is:

ArgumentNullException: Value cannot be null.
Parameter name: key

System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) (at <695d1cc93cca45069c528c15c9fdd749>:0)
ProcGen.Worlds.GetWorldData (System.String name) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/worldgen/WorldGenSettingsIO.cs:568)
RetiredColonyInfoScreen.DisplayWorlds (RetiredColonyData data, UnityEngine.GameObject container) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ui/RetiredColonyInfoScreen.cs:832)
RetiredColonyInfoScreen.DisplayTimelapse (RetiredColonyData data, UnityEngine.GameObject container) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ui/RetiredColonyInfoScreen.cs:668)
RetiredColonyInfoScreen.DisplayStatistics (RetiredColonyData data) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ui/RetiredColonyInfoScreen.cs:904)
RetiredColonyInfoScreen.LoadColony (RetiredColonyData data) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ui/RetiredColonyInfoScreen.cs:376)
MainMenu.ActivateRetiredColoniesScreenFromData (UnityEngine.GameObject parent, RetiredColonyData data) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ui/MainMenu.cs:481)
AchievementEarnedMessage.OnClick () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ui/Messages/AchievementEarnedMessage.cs:39)
NotificationScreen.ShowMessage (MessageNotification mn) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ui/NotificationScreen.cs:184)
NotificationScreen.OnClick (NotificationScreen+Entry entry) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ui/NotificationScreen.cs:563)
NotificationScreen+<>c__DisplayClass52_0.<AddNotification>b__0 () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/ui/NotificationScreen.cs:313)
UnityEngine.Events.InvokableCall.Invoke () (at <fe6edeebaf0d4e65b1405a87cbfd344a>:0)
UnityEngine.Events.UnityEvent.Invoke () (at <fe6edeebaf0d4e65b1405a87cbfd344a>:0)
UnityEngine.UI.Button.Press () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/Button.cs:68)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/Button.cs:110)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:50)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:262)
UnityEngine.EventSystems.EventSystem:Update() (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:385)

Build: 469859

 


Steps to Reproduce
  1. Load from the Merry Planet save file, either Newest Save "Merry Planet-merge update" or any autosave for "Merry Planet-merge update".
  2. Attempt to open the Colony Summary screen (Colony Report > Colony Summary). If opening the Newest Save, clicking on "Colony Achievement earned" banner also repros this crash.
  3. Observe crash

Opening the "Merry Planet" save from 25 Jun does not crash when opening Colony Summary.




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.


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