Hello, I am getting an error when previewing my project. The app just says. "Failure to preview, try reloading construct". And in the corner is always has "rendering spritesheets: 2 remaining" but the chrome console says:
projectResources.js:1 Error starting preview: Exception in job handler: RangeError: offset is out of bounds
Not sure where this came from or what this is even about. I had been previewing things with no problem. I left the project for awhile. When I reopened, this error started. And it seems to be happening on all my available backups. (I have one auto back up and often save_as). I am able to open and edit the project and even export it to play as a standalone. But I cannot preview.
EDIT: I am also seeing this in the console:
hook.js:608 [Project] Exception opening: TypeError: Cannot read properties of null (reading 'getFile')
at window.OBn.YNn (main.js:29:1231313)
overrideMethod @ hook.js:608
EDIT2:
on a different browser it showed me what might be the offending area:
[code lang="javascript"][code lang="javascript"] async $ci(t, s, e) {
if (XK.wt(t, self.Fm),
XK.wt(s, self.ZO),
XK.$0(e),
this.uci)
return this.uci;
e.Jci && "iframe-dialog" === self.app._2().previewMode && (e.Jci = !1),
this.Cme && !XK.Jst.UserActivation && this.Cme.fzs().Hci(t);
try {
this.uci = this.zci(t, s, e),
await this.uci
} catch (s) {
console.error("Error starting preview:", s),
t.ZF() && Promise.resolve().then(( () => self.app.fT(t, !0)));
const e = XK.Te.Pe.Oe("OK");
await e.jn(QK("ui.errors.error-starting-preview"))
} finally {
this.uci = null
}
}