Assertion Failure: Project model unavailable

  • Problem Description

    I can't test my game because it's showing "Assertion failure: Project model unavailable

    Stack trace:

    Error at assert2 (http://localhost:50000/preview_prelude.js:16:10)

    at Runtime.loadProject (http://localhost:50000/preview.js:1144:3)

    at XMLHttpRequest.xhr.onload (http://localhost:50000/preview.js:416:11)"

    Then, it shows me "Javascript error! Uncaught Typeerror: Cannot read property 'project' null localhost/preview.js, line 1148 (col 25)". I have no clue on how to fix it.

    Attach a Capx

    drive.google.com/file/d/16AiLubXPUAikGKGBK8SfaWJf0bnrjuiM/view

    Description of Capx

    An adventure platformer

    Steps to Reproduce Bug

    • Step 1: Update to r259
    • Step 2: Test game but fails

    Observed Result

    Assertion failure: Project model unavailable

    Stack trace:

    Error at assert2 (http://localhost:50000/preview_prelude.js:16:10)

    at Runtime.loadProject (http://localhost:50000/preview.js:1144:3)

    at XMLHttpRequest.xhr.onload (http://localhost:50000/preview.js:416:11)

    Affected Browsers

    • Chrome: Yes
    • Internet Explorer: Yes

    Operating System and Service Pack

    Windows 10

    Construct 2 Version ID

    Construct 2 r259

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It fails to load because the Spikes object animation frame 3 is a corrupt image. If you edit the frame to restore a valid image it works again. I'm afraid there's nothing else we can do unless you can provide the steps to reproduce how the image got corrupt in the first place.

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