When I playtest my game, it works as intended except for when I try to load from a save. I'm using the default Save/Load screens since I don't know much about coding, and it seems to be saving fine. But when I try to load the save, I get an error that says "Oops! An unexpected error has occurred. Uncaught TypeError: Cannot read properties of undefined (reading 'id') File: ENGINE.js@1:155081" followed by a bunch of file locations stuff that makes 0 sense to me.
I ran the game with the Debug window open and got this:
Again, I don't know what any of this means. I can't code very well, and have largely been using the part of the software that doesn't involve messing with the scripts bc I didn't want to mess anything up. I noticed it mentions failing to load Live2D, which confused me because I don't even have Live2D and that's never been a problem before; I can't seem to change this to stop trying to load this feature that I've never owned.
Does anyone know how I can get this to just properly load save states in my game? I'm hoping that it's short enough that I can just disable saving/loading if I can't figure it out in time, but it's definitely preferable to be able to save.
I ran the game with the Debug window open and got this:
Code:
live2d_21.min.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
Live2DFramework_21.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
live2dcubismcore.min.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
live2dframework.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
node:electron/js2c/renderer_init:89 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
Policy set or a policy with "unsafe-eval" enabled. This exposes users of
this app to unnecessary security risks.
For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.
warnAboutInsecureCSP @ node:electron/js2c/renderer_init:89
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
[.WebGL-0000023C00C96200] GL_INVALID_OPERATION: Feedback loop formed between Framebuffer and active Texture.
DevTools failed to load source map: Could not parse content for file:///C:/Users/jaymp/AI%20Jam/data/lib/jquery.min.map: Unexpected end of JSON input
ENGINE.js:1 Uncaught TypeError: Cannot read properties of undefined (reading 'id')
at t.makeMutable (ENGINE.js:1:155081)
at t.blt (ENGINE.js:1:161972)
at Component_ImageMap.onDataBundleRestore (Component_ImageMap_117.js? [sm]:23:16)
at Function.ObjectCodec.onRestore (ENGINE.js:1:12529)
at Function.ObjectCodec.onRestore (ENGINE.js:1:12373)
at Function.ObjectCodec.onRestore (ENGINE.js:1:12148)
at Function.ObjectCodec.onRestore (ENGINE.js:1:12148)
at Function.ObjectCodec.onRestore (ENGINE.js:1:12373)
at Component_GameSceneBehavior.restoreScene (Component_GameSceneBehavior_42.js? [sm]:479:28)
at Component_GameSceneBehavior.prepareVisual (Component_GameSceneBehavior_42.js? [sm]:533:10)
t.makeMutable @ ENGINE.js:1
t.blt @ ENGINE.js:1
Component_ImageMap.onDataBundleRestore @ Component_ImageMap_117.js? [sm]:23
ObjectCodec.onRestore @ ENGINE.js:1
ObjectCodec.onRestore @ ENGINE.js:1
ObjectCodec.onRestore @ ENGINE.js:1
ObjectCodec.onRestore @ ENGINE.js:1
ObjectCodec.onRestore @ ENGINE.js:1
Component_GameSceneBehavior.restoreScene @ Component_GameSceneBehavior_42.js? [sm]:479
Component_GameSceneBehavior.prepareVisual @ Component_GameSceneBehavior_42.js? [sm]:533
Component_SceneBehavior.update @ Component_SceneBehavior_13.js? [sm]:187
Object_Base.update @ Object_Base_6.js? [sm]:351
ObjectManager.update @ ObjectManager_8.js? [sm]:257
SceneManager.update @ SceneManager_34.js? [sm]:178
Main.updateFrame @ Main_122.js? [sm]:36
(anonymous) @ Main_122.js? [sm]:308
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
requestAnimationFrame (async)
i @ ENGINE.js:1
Again, I don't know what any of this means. I can't code very well, and have largely been using the part of the software that doesn't involve messing with the scripts bc I didn't want to mess anything up. I noticed it mentions failing to load Live2D, which confused me because I don't even have Live2D and that's never been a problem before; I can't seem to change this to stop trying to load this feature that I've never owned.
Does anyone know how I can get this to just properly load save states in my game? I'm hoping that it's short enough that I can just disable saving/loading if I can't figure it out in time, but it's definitely preferable to be able to save.