Problem Description
Error related to containers and save/load. It is no problem to work around this, but probably shouldn't happen. It can be a nightmare to locate this error in large projects.
Attach a Capx
https://drive.google.com/file/d/0B6WdU5 ... sp=sharing
Description of Capx
Destroys object in container, and makes it possible to save/load.
Steps to Reproduce Bug
- Click button to go to main layout.
- Click save button.
- Refresh browser and load game.
Observed Result
Error.
preview_prelude.js:30 Assertion failure: Unable to find instance by IID
Stack trace:
Error
at assert2 (http://localhost:50001/preview_prelude.js:16:10)
at pluginProto.Type.cr.type_getInstanceByIID [as getInstanceByIID] (http://localhost:50001/commonace.js:1198:3)
at pluginProto.Type.cr.type_applySolToContainer [as applySolToContainer] (http://localhost:50001/commonace.js:1350:28)
at Runtime.executeSingleTrigger (http://localhost:50001/preview.js:4903:26)
at Runtime.triggerOnSheetForTypeName (http://localhost:50001/preview.js:4865:16)
at Runtime.triggerOnSheet (http://localhost:50001/preview.js:4797:13)
at Runtime.trigger (http://localhost:50001/preview.js:4774:12)
at Runtime.loadFromJSONString (http://localhost:50001/preview.js:5786:9)
at Runtime.handleSaveLoad (http://localhost:50001/preview.js:5444:9)
at Runtime.logic (http://localhost:50001/preview.js:2662:8)
Expected Result
Load the game.
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Win10
Construct 2 Version ID
239
Cheers,
thegrind