daviscook477 / ONI-Mods

Mods for Oxygen Not Included
7 stars 31 forks source link

Infinite Gas/Liquid Sources - Crash #14

Open romen-h opened 3 years ago

romen-h commented 3 years ago

When building an Infinite Gas Source the game crashes as soon as construction is finished. (I had the building selected too)

Here is the output in the ONI log:

ArgumentException: An item with the same key has already been added. Key: Unbreathable
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <e1319b7195c343e79b385cd3aa43f5dc>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <e1319b7195c343e79b385cd3aa43f5dc>:0 
  at FilterSideScreen.Configure (Filterable filterable) [0x000cc] in <a8d8cafbcd164cda9f477d36796bfc75>:0 
  at FilterSideScreen.SetTarget (UnityEngine.GameObject target) [0x00087] in <a8d8cafbcd164cda9f477d36796bfc75>:0 
  at DetailsScreen.<Refresh>b__41_0 (DetailsScreen+SideScreenRef scn) [0x00074] in <a8d8cafbcd164cda9f477d36796bfc75>:0 
  at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <e1319b7195c343e79b385cd3aa43f5dc>:0 
  at DetailsScreen.Refresh (UnityEngine.GameObject go) [0x002ad] in <a8d8cafbcd164cda9f477d36796bfc75>:0 
  at RootMenu.OnSelectObject (System.Object data) [0x00086] in <a8d8cafbcd164cda9f477d36796bfc75>:0 
  at EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) [0x000fe] in <1dcc11867b524f7cb2488468843e982e>:0 
  at KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) [0x00026] in <1dcc11867b524f7cb2488468843e982e>:0 
  at SelectTool.Select (KSelectable new_selected, System.Boolean skipSound) [0x0012f] in <a8d8cafbcd164cda9f477d36796bfc75>:0 
  at SelectTool+<DoSelectNextFrame>d__18.MoveNext () [0x00035] in <a8d8cafbcd164cda9f477d36796bfc75>:0 
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00027] in <a35d771e78bd4d75a6f3aedeaad4d1ed>:0 

It appears to me that something about the sidescreen code for this mod is broken after the July 7th update?