seiggy / Skylines-Traffic-Manager

Cities: Skylines Traffic Management Mod
http://steamcommunity.com/sharedfiles/filedetails/?id=481786333
MIT License
8 stars 2 forks source link

Crash when saving game. #11

Open tosti2 opened 9 years ago

tosti2 commented 9 years ago

According to the crash report, it has to do with the trafficlightmanager in line 65.

You can find the full report in the link below.

https://forum.paradoxplaza.com/forum/index.php?threads/game-crash-when-saving.874849/#post-19745910

seiggy commented 9 years ago

Patched the save system last night. See if that fixes your issue.

tosti2 commented 9 years ago

Got a new crash report for you. Also happened while saving.

http://pastebin.com/WGw91g8a

JoshTumath commented 9 years ago

The bug was described well by someone else in the Steam comments:

I've been getting crashes while saving, too. It happens more often than not.

I've isolated to this mod. If I don't use it, saves are fine. If I do, it crashes.

Also, the chance to crash increases with time. If I load a game and immediately save it, it's probably fine. If I wait a couple of minutes there's a good chance it'll crash. If I play for, say, 10 minutes... It'll almost certainly crash while saving.

I can provide a save if you want. Although I'm new to the game so I'm not sure where the saves are stored.

PropaneDragon commented 8 years ago

I can confirm I'm also getting this. It became annoying when I had the auto save on, as it'd crash after 10 minutes of work. Now I manually save after every little thing so I don't lose too much progress. Unfortunately, I can't really provide any more information as it's been covered already and my saves have quite a few other mods in them. Thanks for the work so far though.   @JoshTumath

I can provide a save if you want. Although I'm new to the game so I'm not sure where the saves are stored.

The game data is stored in _%USERPROFILE%/AppData/Local/Colossal Order/CitiesSkylines/Saves

moverperfect commented 8 years ago

I believe I am also getting this as well, here are the three generated files from the crash https://drive.google.com/folderview?id=0BwWC_KT-ruO9ZVJSdmdHVGY3RWM&usp=sharing