jonbaer Posted October 29, 2016 Report Share Posted October 29, 2016 First time I have gotten this - I'd rather help w/ this bug than complain about it (since this is an SVN copy) - I have to assume there are unit tests for load/save but is it worth tracking this down when it happens? Quote Link to comment Share on other sites More sharing options...
feneur Posted October 29, 2016 Report Share Posted October 29, 2016 Had SVN been updated since you saved the game? (Just to rule out the obvious.) Quote Link to comment Share on other sites More sharing options...
jonbaer Posted October 29, 2016 Author Report Share Posted October 29, 2016 No they were recent games w/ no updates, I just unziped the .0adsave to compare the engine_version info "0.0.21" (since I think you are suppose to get a GUI box asking for loading previous versions - correct?) ... I did do a quick save game and load and it worked fine, guessing since these were longer matches it was something else. Going to place a few console.logs inside of loadGame() or at least something that tells me what element failed to deserialize. Quote Link to comment Share on other sites More sharing options...
elexis Posted October 29, 2016 Report Share Posted October 29, 2016 Alpha 21 engine version is not enough, it must be from the exact same revision. There should be a timestamp in the metadata inside the zipfile, that should give a hint on which revision was used. 1 Quote Link to comment Share on other sites More sharing options...
jonbaer Posted October 30, 2016 Author Report Share Posted October 30, 2016 If I put some more logging in CComponentManager::DeserializeState it shows that the error occurs while handling Pathfinder component. If I force PSERROR_Deserialize to return true + load anyway this is what I ended up with @ crash time (not sure if any of this helps) ... TypeError: renamedEntities is undefined EntityGroupsContainer.prototype.checkRenamedEntities@gui/session/selection.js:503:1 EntityGroupsContainer.prototype.update@gui/session/selection.js:485:2 updateGroups@gui/session/session.js:925:2 restoreSavedGameData@gui/session/session.js:625:2 init@gui/session/session.js:254:4 reallyStartGame@gui/loading/loading.js:104:2 ERROR: GUI page 'page_session.xml': Failed to call init() function GAME STARTED, ALL INIT COMPLETE ERROR: JavaScript error: gui/session/selection.js line 270 TypeError: renamedEntities is undefined EntitySelection.prototype.checkRenamedEntities@gui/session/selection.js:270:1 EntitySelection.prototype.update@gui/session/selection.js:223:2 updateGUIObjects@gui/session/session.js:742:2 onTick@gui/session/session.js:648:3 __eventhandler53 (tick)@sn tick:0:1 ERROR: The pathfinder grid hasn't been setup yet, aborting ComputePath Quote Link to comment Share on other sites More sharing options...
elexis Posted October 30, 2016 Report Share Posted October 30, 2016 To me it sounds like you saved before #4277 and tried to load with a later revision. Quote Link to comment Share on other sites More sharing options...
jonbaer Posted November 1, 2016 Author Report Share Posted November 1, 2016 Well after accidentally deleting the bad .0adsave file(s) + playing a few more long length saved games off latest SVN I wasn't able to reproduce so your assumption is probably correct. I also just realized I may have (or did) play w/ pyrogenesis -writeableRoot in the same development location on my hard drive. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.