invector inventory saver
Posted: Sat Apr 05, 2025 9:21 pm
When I add the invector inventory saver to my player I get this error.
InvalidOperationException: Collection was modified; enumeration operation may not execute.
System.Collections.Generic.HashSet`1+Enumerator[T].MoveNext () (at <a314714511a14f84b853c03efd8682b8>:0)
PixelCrushers.SaveSystem.BeforeSceneChange () (at Assets/Plugins/Pixel Crushers/Common/Scripts/Save System/SaveSystem.cs:918)
PixelCrushers.SaveSystem+<LoadSceneCoroutine>d__135.MoveNext () (at Assets/Plugins/Pixel Crushers/Common/Scripts/Save System/SaveSystem.cs:989)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <0b78209fd00d4f419f30dd210c
Seems to save okay.
When I try to load from the menu the player disappears. If I load a second time it works.
InvalidOperationException: Collection was modified; enumeration operation may not execute.
System.Collections.Generic.HashSet`1+Enumerator[T].MoveNext () (at <a314714511a14f84b853c03efd8682b8>:0)
PixelCrushers.SaveSystem.BeforeSceneChange () (at Assets/Plugins/Pixel Crushers/Common/Scripts/Save System/SaveSystem.cs:918)
PixelCrushers.SaveSystem+<LoadSceneCoroutine>d__135.MoveNext () (at Assets/Plugins/Pixel Crushers/Common/Scripts/Save System/SaveSystem.cs:989)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <0b78209fd00d4f419f30dd210c
Seems to save okay.
When I try to load from the menu the player disappears. If I load a second time it works.