0 Favourites

Error related to container object destruction and save/load.

  • 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

    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 ()

    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 ()

    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

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Hello!

    I have the same error when loading. How can I find the error?

    Thanks!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)