RPG Maker MV

RPG Maker MV

Bandrian Nov 7, 2022 @ 8:43am
TypeError: Can not read property ‘resolution’ of undefined
After using the Character Generator to creat a new face for my actor, I saved it in the folder "faces" and successfully loaded it in database. :lunar2019coolpig:

But when I playtest my game for just few seconds, the window became pure black and then came out an error: "TypeError: Can not read property ‘resolution’ of undefined".:torielsad:

By opening the console I got below information:
Originally posted by console:
WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost
rpg_managers.js:1949
TypeError: Cannot read property 'resolution' of undefined
at WebGLExtract.canvas (pixi.js:29556)
at Function.Bitmap.snap (rpg_core.js:936)
at Function.SceneManager.snap (rpg_managers.js:2109)
at Function.SceneManager.snapForBackground (rpg_managers.js:2113)
at Scene_Title.terminate (rpg_scenes.js:465)
at Function.SceneManager.changeScene (rpg_managers.js:1998)
at Function.SceneManager.updateMain (rpg_managers.js:1982)
at Function.SceneManager.update (rpg_managers.js:1907)
SceneManager.catchException @ rpg_managers.js:1949

For I am not familiar with Java, these sentences are perfect nonsense to me.

Could anyone help to explain this error or kindly share a solution?

By the way, I am using macOS 12.6.1. Is this the reason caused an error?:steamfacepalm:

*No plugins is used.
Last edited by Bandrian; Nov 7, 2022 @ 8:55am
< >
Showing 1-4 of 4 comments
Bandrian Nov 7, 2022 @ 9:08am 
GREAT! By triggering this error several times, I finally lost all character images of my whole team when they walk on map.
I got a ghost team!:taloslol:
What's best? There is no error any more.:cozybethesda:
JohnDoeNews Nov 7, 2022 @ 11:12am 
Did you maybe rename any files after you started this play-trough?

In that case try this:
- Start your test play
- Select new game (do not load saved game)
- See if this solved your problem.

If your game is saved with actor "Pete" having "Actor1.png" as their face picture and you change the file name to "Pete.png", then when you load the saved game up, it will still look for "Actor1.png" everytime it looks for pates face. Even if the character who's filename you changed wasn't even in the party when the game was saved.

btw... The game itself does give an error too when it is missing assets. This error most likely will crash your game, but it will tell you which file it can't find.
Bandrian Nov 8, 2022 @ 2:50am 
Originally posted by JohnDoeNews:
Did you maybe rename any files after you started this play-trough?

In that case try this:
- Start your test play
- Select new game (do not load saved game)
- See if this solved your problem.

If your game is saved with actor "Pete" having "Actor1.png" as their face picture and you change the file name to "Pete.png", then when you load the saved game up, it will still look for "Actor1.png" everytime it looks for pates face. Even if the character who's filename you changed wasn't even in the party when the game was saved.

btw... The game itself does give an error too when it is missing assets. This error most likely will crash your game, but it will tell you which file it can't find.
Thanks for your analyze. But sadly, the situation seems a little bit different from what you thought.

This error was triggered several times during the new game. Moreover, even few times during the title screen.

And the only error information I can get from the game itself is that"TypeError: Cannot read property 'resolution' of undefined". I would like to assume that even this game itself don't know which file it can't find. :lunar2019deadpanpig:
Bandrian Nov 8, 2022 @ 8:37am 
Alright, forget about the ghost team. It was a mistake I made in database.:wndrunk:
< >
Showing 1-4 of 4 comments
Per page: 1530 50