voxeltycoon / issues

18 stars 4 forks source link

Can't load saved game - an item with the same key has already been added #956

Open Joriom opened 2 years ago

Joriom commented 2 years ago

Describe the bug Can't load saved game An item with the same key has already been added. Key: (3437823, VoxelTycoon.Tracks.Tasks.VehicleRoute) I can't remember if there were any problems with saving as it was already few days ago. Clear crash would rather stick in my memory though so I don't think so? Also - all the autosaves seem to have the same problem, so it can't be the reason. IMO some problem with serialization? Conflict because of Polish special characters in route names? Dunno. image

Base game, no mods used. Save with 25h 33m of playtime, using only trucks. Tried loading autosaves from earlier - all three seem to have the same problem. image

Steps to reproduce Unable too. Tried: Started new game - load saves without problems. Tried reproducing by making multiple routes with the same name (my first guess), new game with "Route 1" and "Route 1" loads without problems. No other ideas how to try to reproduce.

Build version 0.87.0.0 steam

Platform Windows 7 Ultimate (64 bit)

Language used Polish naming style. Might be useful since looks like its connected to VehicleRoute and duplicates - which might have some connection to route names, which in turn might try to have polish special characters? Its a stretch but still a valid consideration.

Reproducibility Can't reproduce. Don't know how to approach.

Logs/saves I tried restarting my PC and relaunch the game before I ended up thinking of reporting it as a bug and some time passed in between tries. I didn't realize there is "Player-prev.log" - I wouldn't have restart the game. I don't think any of those will contain any useful information as none of those is from the time the save was created but both have tries of save being loaded. I'm sending them just in case along with save itself. VT_BR_log_cantloadsave.zip

Hofboy commented 2 years ago

Got the same issue. I thought it was because I had lots mods lol. Also sometimes after loading a save I no longer can buy more land but that might be because of mods or not. Happy I'm not the only one with this issue. Also using the polish name city's.

andrewpey commented 1 year ago

Thanks for such a detailed report. It looks like your save is loading fine on the beta branch. Do you still have problems with it on your machine?