UIS: If you repeat the auto save about 3 times after getting the item, the items other than the Consumable item and Health item will disappear.
It also happens with manual save
Version UCC225 UIS106, but it also happens in the latest version
And is there another good way to implement uConstruct items?
I want to stack uConstruct items.
I want to stop building a uConstruct item when I drop it
@Sangemdoko
I will send you a project that is as small as necessary.
I sent you a conversation with the URL of the project file.
Error Code
ArgumentException: An item with the same key has already been added. Key: 1725629314
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <437ba245d8404784b9fbab9b439ac908>:0)
Opsive.Shared.Utility.Serialization.DeserializeFields (Opsive.Shared.Utility.MemberVisibility visibility, System.Func`3[T1,T2,TResult] onValidateCallback) (at <c074b6a8dd6f40bea0f47542ec19701b>:0)
Opsive.UltimateInventorySystem.SaveSystem.InventorySystemManagerItemSaver.DeserializeAndLoadSaveData (Opsive.Shared.Utility.Serialization serializedSaveData) (at Assets/Opsive/UltimateInventorySystem/Scripts/SaveSystem/InventorySystemManagerItemSaver.cs:65)
Opsive.UltimateInventorySystem.SaveSystem.SaverBase.Load () (at Assets/Opsive/UltimateInventorySystem/Scripts/SaveSystem/SaverBase.cs:82)
Opsive.UltimateInventorySystem.SaveSystem.SaverBase.Start () (at Assets/Opsive/UltimateInventorySystem/Scripts/SaveSystem/SaverBase.cs:61)
NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Integrations.UltimateInventorySystem.InventoryBridgeSaver.SetItemAsUnequipped (Opsive.UltimateInventorySystem.Core.DataStructures.ItemAmounts itemAmounts) (at Assets/Opsive/UltimateCharacterController/Integrations/UltimateInventorySystem/Scripts/InventoryBridgeSaver.cs:196)
Opsive.UltimateCharacterController.Integrations.UltimateInventorySystem.InventoryBridgeSaver.DeserializeAndLoadSaveData (Opsive.Shared.Utility.Serialization serializedSaveData) (at Assets/Opsive/UltimateCharacterController/Integrations/UltimateInventorySystem/Scripts/InventoryBridgeSaver.cs:159)
Opsive.UltimateInventorySystem.SaveSystem.SaverBase.Load () (at Assets/Opsive/UltimateInventorySystem/Scripts/SaveSystem/SaverBase.cs:82)
Opsive.UltimateInventorySystem.SaveSystem.SaverBase.Start () (at Assets/Opsive/UltimateInventorySystem/Scripts/SaveSystem/SaverBase.cs:61)
It also happens with manual save
Version UCC225 UIS106, but it also happens in the latest version
And is there another good way to implement uConstruct items?
I want to stack uConstruct items.
I want to stop building a uConstruct item when I drop it
@Sangemdoko
I will send you a project that is as small as necessary.
I sent you a conversation with the URL of the project file.
Error Code
ArgumentException: An item with the same key has already been added. Key: 1725629314
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <437ba245d8404784b9fbab9b439ac908>:0)
Opsive.Shared.Utility.Serialization.DeserializeFields (Opsive.Shared.Utility.MemberVisibility visibility, System.Func`3[T1,T2,TResult] onValidateCallback) (at <c074b6a8dd6f40bea0f47542ec19701b>:0)
Opsive.UltimateInventorySystem.SaveSystem.InventorySystemManagerItemSaver.DeserializeAndLoadSaveData (Opsive.Shared.Utility.Serialization serializedSaveData) (at Assets/Opsive/UltimateInventorySystem/Scripts/SaveSystem/InventorySystemManagerItemSaver.cs:65)
Opsive.UltimateInventorySystem.SaveSystem.SaverBase.Load () (at Assets/Opsive/UltimateInventorySystem/Scripts/SaveSystem/SaverBase.cs:82)
Opsive.UltimateInventorySystem.SaveSystem.SaverBase.Start () (at Assets/Opsive/UltimateInventorySystem/Scripts/SaveSystem/SaverBase.cs:61)
NullReferenceException: Object reference not set to an instance of an object
Opsive.UltimateCharacterController.Integrations.UltimateInventorySystem.InventoryBridgeSaver.SetItemAsUnequipped (Opsive.UltimateInventorySystem.Core.DataStructures.ItemAmounts itemAmounts) (at Assets/Opsive/UltimateCharacterController/Integrations/UltimateInventorySystem/Scripts/InventoryBridgeSaver.cs:196)
Opsive.UltimateCharacterController.Integrations.UltimateInventorySystem.InventoryBridgeSaver.DeserializeAndLoadSaveData (Opsive.Shared.Utility.Serialization serializedSaveData) (at Assets/Opsive/UltimateCharacterController/Integrations/UltimateInventorySystem/Scripts/InventoryBridgeSaver.cs:159)
Opsive.UltimateInventorySystem.SaveSystem.SaverBase.Load () (at Assets/Opsive/UltimateInventorySystem/Scripts/SaveSystem/SaverBase.cs:82)
Opsive.UltimateInventorySystem.SaveSystem.SaverBase.Start () (at Assets/Opsive/UltimateInventorySystem/Scripts/SaveSystem/SaverBase.cs:61)