TypeError: Can not read property "MainFontFilename" of undefined

Hey there,

I recently copied the files over from one of my old MV projects into MZ and I get this popup whenever I try and run the game. I've copied all the game's data into MZ; according to the plugin manager, I'm running no plugins.

Could you help shed a light on what's going on?

Screen Shot 2021-09-14 at 6.08.45 PM.png
something is undefined - and that is not the fontfilename itself, but the data object that is the parent of that property.

so for better help we will need the full console output of that error (press F8 when it appears).
But as a first guess I suggest you check the instructions of what to copy and what not to copy and how to update your game when transferring from MV to MZ, because there is a high chance that you made a mistake with those instructions.
I tried pressing F8 but nothing happened. I'm on mac by the way.
What plugins do you have? Did you copy those over from your MV project?
According to my plugin manager, I'm using none. I don't remember installing any.
I tried pressing F8 but nothing happened.
in that case you need to go to the browser console manually.

go to the project folder and start the index.html with a browser of your choice.
play until the error message appears
while the error message is displayed, go to the menu of the browser, go to the developer tools there and then select the console (menu structure depends on which browser you're using, but all have the console somewhere on the developer tools)
I just got MZ (believing I could easily import my MV project) and got the same error immediately. Did this ever get resolved? I didn't move my plugins (maybe that's related).

I was happy to know there is better output available than the error, but can't decipher this

1708305637501.png

@davidicus, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.


Please make a new thread instead.

Original thread: https://forums.rpgmakerweb.com/threads/typeerror-can-not-read-property-mainfontfilename-of-undefined.140463/