Jump to content

Black Hole: Trying to add Salt:UnitType quantity but units dictionary already has key Salt with unit type:mass


Erik38
  • Branch: Live Branch Version: Windows Pending

Player-prev.logPlayer.log

Hi Team, 

Loved and played ONI ever since it was released in beta/alpha. Oh how far it's come! Would love if you could please help with this. I can't continue playing the game otherwise. 

Encountering a error that crashes my game at the same spot, less then two minutes after loading my current save (attached). Have troubleshooted it to the moon, used all your guides, looked through the fourms, disabled all mods, re-instaled the game, replicated it a dozen times, and done everything under the sun.

You only need to start up the save and wait less then 2 minutes and it will crash.

Can someone please tell me what the error report is saying below? I don't understand what the code is telling me.

If anyone can help I very much appreciate it. I will be immediately responsive to this thread.

Erik 

Error: 
-------------------

Trying to add Salt:UnitType quantity but units dictionary already has key Salt with unit type:mass

  at UnityEngine.Debug.LogError (System.Object message) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
  at Debug.LogError (System.Object obj) [0x00000] in <53ba8544b0394db88dcaac034e1fe553>:0
  at AllResourcesScreen.SpawnCategoryRow (Tag categoryTag, GameUtil+MeasureUnit unit) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at AllResourcesScreen.SpawnRows () [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at AllResourcesScreen.Populate (System.Object data) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at AllResourcesScreen.<Init>b__16_0 (Tag a, Tag b) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at DiscoveredResources.Discover (Tag tag, Tag categoryTag) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at WorldInventory.OnAddedFetchable (System.Object data) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) [0x00000] in <53ba8544b0394db88dcaac034e1fe553>:0
  at KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) [0x00000] in <53ba8544b0394db88dcaac034e1fe553>:0
  at FetchableMonitor+Instance.RegisterFetchable () [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at FetchableMonitor+<>c.<InitializeStates>b__3_0 (FetchableMonitor+Instance smi) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].ExecuteActions (StateMachine`4+State[StateMachineType,StateMachineInstanceType,MasterType,DefType] state, System.Collections.Generic.List`1[T] actions) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].PushState (StateMachine+BaseState state) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].GoTo (StateMachine+BaseState base_state) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at GameStateMachine`4+EventTransitionData[StateMachineType,StateMachineInstanceType,MasterType,DefType].ExecuteTransition (StateMachineInstanceType smi) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at GameStateMachine`4+EventTransitionData[StateMachineType,StateMachineInstanceType,MasterType,DefType].Evaluate (StateMachineInstanceType smi) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].PushState (StateMachine+BaseState state) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].GoTo (StateMachine+BaseState base_state) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at StateMachine+Instance.StartSM () [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at StateMachine`4+GenericInstance[StateMachineType,StateMachineInstanceType,MasterType,DefType].StartSM () [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at Pickupable.OnSpawn () [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0
  at KMonoBehaviour.Spawn () [0x00000] in <53ba8544b0394db88dcaac034e1fe553>:0
  at KMonoBehaviour.Start () [0x00000] in <53ba8544b0394db88dcaac034e1fe553>:0
Build: U41-498381-S

Dump.sav


Steps to Reproduce

Load my save. Hit 2x speed. Wait >30 seconds.




User Feedback


Crash happens when your duplicants dig up a piece of salt here. The problem seems to be that you have never dug up salt yet, but it has already been added to the panel, with a very strange unit of measurement. Perhaps these are the consequences of using Favorite Resources Mod by Ony, but I'm not sure at all 146%. Now your save file contains inconsistent data.

33094130_2022-04-1710-38-11.thumb.png.c3bcc08abd9b71226049603cca50edf6.png

To cure your save file, do the following:
1. Load the save file
2. Unpin the salt from the panel

Spoiler

1946961844_2022-04-1710-39-28.thumb.png.a8c20955bc3369cb6f18cf1bc1380c38.png


3. Save to a new file
4. Go to the main menu
5. Load a new file
6. Now, when digging out the salt, everything is fine

Spoiler

963363159_2022-04-1710-42-57.thumb.png.b1683641c899d3fbeb8db86d57388730.png

 

  • Like 1

Share this comment


Link to comment
Share on other sites

On 4/17/2022 at 1:02 AM, Sanchozz said:

Crash happens when your duplicants dig up a piece of salt here. The problem seems to be that you have never dug up salt yet, but it has already been added to the panel, with a very strange unit of measurement. Perhaps these are the consequences of using Favorite Resources Mod by Ony, but I'm not sure at all 146%. Now your save file contains inconsistent data.

33094130_2022-04-1710-38-11.thumb.png.c3bcc08abd9b71226049603cca50edf6.png

To cure your save file, do the following:
1. Load the save file
2. Unpin the salt from the panel

  Reveal hidden contents

1946961844_2022-04-1710-39-28.thumb.png.a8c20955bc3369cb6f18cf1bc1380c38.png


3. Save to a new file
4. Go to the main menu
5. Load a new file
6. Now, when digging out the salt, everything is fine

  Reveal hidden contents

963363159_2022-04-1710-42-57.thumb.png.b1683641c899d3fbeb8db86d57388730.png

 

Thanks so much!! Really appreciate you going through this and finding the fix. Can finally play the game again. I did have that MOD downloaded before realizing there was no need for it. Won't enable it again. 

Thanks a ton

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