Razzmatazzz / RemnantSaveGuardian

Tool to backup your saves and view your world rolls
GNU General Public License v3.0
346 stars 50 forks source link

Error when trying to read DLC adventure mode save file #210

Closed jgentil closed 9 months ago

jgentil commented 11 months ago
Error loading world Data in CharacterData.LoadWorldData: An item with the same key has already been added. Key: Wither    at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at RemnantSaveGuardian.GameInfo.RefreshGameInfo() in RemnantSaveGuardian\GameInfo.cs:line 171
   at RemnantSaveGuardian.GameInfo.get_InjectableParents() in RemnantSaveGuardian\GameInfo.cs:line 88
   at RemnantSaveGuardian.RemnantWorldEvent.GetInjectables(String saveText) in RemnantSaveGuardian\RemnantWorldEvent.cs:line 1600
   at RemnantSaveGuardian.RemnantWorldEvent.ProcessEvents(RemnantCharacter character, String saveText) in RemnantSaveGuardian\RemnantWorldEvent.cs:line 1637
   at RemnantSaveGuardian.RemnantWorldEvent.ProcessEvents(RemnantCharacter character) in RemnantSaveGuardian\RemnantWorldEvent.cs:line 1694
   at RemnantSaveGuardian.RemnantCharacter.LoadWorldData() in RemnantSaveGuardian\RemnantCharacter.cs:line 166

It's a bit odd since Wither is an Aberration in Yaesha. The Campaign tab for the save works fine but the Adventure tab doesn't highlight or isn't clickable.

jgentil commented 11 months ago

I also get this error:

Error loading world Data in CharacterData.LoadWorldData: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.    at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at RemnantSaveGuardian.GameInfo.RefreshGameInfo() in RemnantSaveGuardian\GameInfo.cs:line 171
   at RemnantSaveGuardian.GameInfo.get_InjectableParents() in RemnantSaveGuardian\GameInfo.cs:line 88
   at RemnantSaveGuardian.RemnantWorldEvent.GetInjectables(String saveText) in RemnantSaveGuardian\RemnantWorldEvent.cs:line 1600
   at RemnantSaveGuardian.RemnantWorldEvent.ProcessEvents(RemnantCharacter character, String saveText) in RemnantSaveGuardian\RemnantWorldEvent.cs:line 1637
   at RemnantSaveGuardian.RemnantWorldEvent.ProcessEvents(RemnantCharacter character) in RemnantSaveGuardian\RemnantWorldEvent.cs:line 1694
   at RemnantSaveGuardian.RemnantCharacter.LoadWorldData() in RemnantSaveGuardian\RemnantCharacter.cs:line 166
crackedmind commented 11 months ago

Please, attach your save file.

jgentil commented 9 months ago

It seems that it was crashing on a second save that was in the same directory that was from a much earlier version of the game. Removing that save fixed the issue.