KingOfDog/startup-company-dynamic-products

Game crashes when loading save

Closed this issue · 3 comments

So, after playing a modded game, I saved and left to take a break. When I came back and loaded the save, I got the error at the bottom of this post. There are no crashes or warnings, however, these issues seem to occur after creating a custom framework. The save is now unloadable.

Cannot read property 'pricePerUser' of undefined TypeError: Cannot read property 'pricePerUser' of undefined at _.sum.e.settings.products.map.t (file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Startup%20Company/resources/app/dest/game.min.js:1:1509458) at Array.map (<anonymous>) at d.e.updateFinanceData (file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Startup%20Company/resources/app/dest/game.min.js:1:1509340) at Object.LoadGame (file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Startup%20Company/resources/app/dest/game.min.js:1:1268605) at controller.a.loadSaveGame.t [as loadSaveGame] (file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Startup%20Company/resources/app/dest/game.min.js:1:1544999) at fn (eval at compile (file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Startup%20Company/resources/app/dest/game.min.js:1:329946), <anonymous>:4:1104) at i (file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Startup%20Company/resources/app/dest/game.min.js:1:350376) at d.$eval (file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Startup%20Company/resources/app/dest/game.min.js:1:288777) at d.$apply (file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Startup%20Company/resources/app/dest/game.min.js:1:289007) at HTMLDivElement.<anonymous> (file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Startup%20Company/resources/app/dest/game.min.js:1:350428)

Could you send your savegame so that I can take a look at it?

Nevermind, I think I could reproduce the bug.

Should be fixed with the upcoming update.