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
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.
preview_prelude.js:30 Assertion failure: Unable to find instance by IID
at assert2 ()
at pluginProto.Type.cr.type_getInstanceByIID [as getInstanceByIID] ()
at pluginProto.Type.cr.type_applySolToContainer [as applySolToContainer] ()
at Runtime.executeSingleTrigger ()
at Runtime.triggerOnSheetForTypeName ()
at Runtime.triggerOnSheet ()
at Runtime.trigger ()
at Runtime.loadFromJSONString ()
at Runtime.handleSaveLoad ()
at Runtime.logic ()
Load the game.
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Construct 2 Version ID