|Anonymous | Login | Signup for a new account||2017-01-17 23:24 GMT|
|My View | View Issues | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0022525||Studio Bugs||Saving||Public||2016-07-11 15:52||2016-10-26 11:02|
|Assigned To||Mike Rennie|
|Priority||Very High||Severity||B - Major||Reproducibility||100%|
|Platform||-||OS||Windows 8||OS Version||8.1 Pro x64|
|Summary||0022525: Saving: Possible to corrupt resources by running project whilst unsaved name changes|
|Description||If you're in the process of renaming a resource and you run your game this will change the project.gmx, but not rename the individual resource .gmx. However, at this point the IDE thinks there are no changes awaiting saving, so if the user closes the IDE immediately after closing their game, the IDE will fail to correct the project "imbalance", meaning when you try to reopen this project it will complain about missing resources and you can lose data.|
Expected: Pressing the run/create exe button fully applies any rename change for all open resources.
|Steps To Reproduce||1. Start Studio and create a new project.|
2. Add a room (room0).
3. Okay the room once to close it.
4. Now open the room again and use the name field within the room's settings to rename the room to room1, but do not confirm this in any way.
5. Hit the play button to run the game.
6. Observe the IDE removes the saving flag but does not update the asset name.
7. Note that the game appears fine. Close the game.
8. Close the IDE and observe a lack of saving confirmation.
9. Start Studio again and open the project once more. Observe missing assets errors.
|Additional Information||In some cases your re-loaded corrupted project will then cause the IDE to throw AVs when trying to check the resource tree contents.|
|Attached Files|| Renaming.png [^] (55,597 bytes) 2016-07-11 16:02
After.png [^] (11,410 bytes) 2016-07-11 16:02
Mike Rennie (Developer)
|Fixed this by saving the project GMX again if it detects there's unsaved changes on close.|
|Copyright © 2000 - 2017 MantisBT Team|