Sudden problen with Visustella Main Menu core

Hello there, so I suddently got a strange error: at first, my game crashed when opening the menu, I was getting this error:

The problem seemed to be on Visustella Main menu core, but even without it I have problems: In the menu and sub menus the actors faces don’t show anymore, as well as icons in equip names and skills names.

What seems to be the poblem here ? It really came out of nowhere and I can’t just ignore it. Any idea or suggestion ?

It would help a lot, thank you very much

The faces and the icons going at the same time makes me think that part might not be Main Menu Core at all. Icons come from img/system/IconSet.png and faces from img/faces, so I’d check those files are still in the project and still open in an image viewer. MZ throws a “Failed to load” screen when an image is genuinely missing, so I’m curious whether anything like that shows in the console before the TypeError.

Have you changed any of the Main Menu Core layout settings recently, the Vertical Style rows or columns or a status window width? The trace ends inside that drawing code, and a 0 or a blank in one of those could be where the NaN is coming from.

faces and icons are all right, they also appear in the data base, I managed to bypas the error message by not drawing the exp bar in the main menu, but faces and icons are still missing unfortunately. I tried replacing my vs core engine plugin with a fresh one but it didnt do anything

EDIT: so I removed all of the VS plugins and the portraits are still not visible, my new theory is maybe when I downgraded my core script from 1.10 o 1.9 I broke something up, what do you think ?

A new project on the same install would answer that pretty quickly. Make one, open the menu without touching anything, and see if the default faces and icons draw. If they show up fine there, the install is okay and it’s something inside your project. If they’re missing there too, the downgrade is looking more likely.

How did you do the downgrade? If some js files got swapped and others didn’t you’d be running mixed versions. Each core script has the version in the comment block at the top, so it’s worth opening rmmz_core.js, rmmz_managers.js, rmmz_objects.js, rmmz_scenes.js, rmmz_sprites.js and rmmz_windows.js and checking they all say the same thing. js/main.js and the js/libs folder come from the same version as well.

What made you want to go back to 1.9? If it isn’t something you’re stuck on, putting 1.10 back might be the quicker way to fix it.

I think I fixed it, but first :

you were right, I started a fresh game and passed it to 1.9 (the version of my game) and the faces didn’t show up, I reverted it to 1.8 and faces were right back, so I did the same on my project and it seems to work now.

now the explications: I used 1.10 during the holidays at a friends computer but it had some problems with the FOSSIL plugin, that didn’t support it so I downgraded it to 1.9 (my game was 1.8.1 at base) to get it back functionning.

Simple answer: I downgraded it back to 1.8 and now everything’s fine, guess I’ll stay on it from now on, I spend too many days trying to understand this.

Thank you very much for your help