MV Getting these TypeError messages and I'm not really sure what the cause is.

Basically tried to playtest the game but these errors keep showing up and I don't know what happened...

If I recall correctly, the only thing I changed was the Skill orders so it would look neater and easier to work with. I also added one Troop and played around with balancing all of the existing Troop's stats and exp drops.
I definitely didn't play around with any of the Class, Subclass, Barrier, & Item settings.

I'd gladly appreciate any help!
Screenshot 2025-07-24 175337.png
index.php
I definitely didn't play around with any of the Class, Subclass, Barrier, & Item settings.
the thing is that only classes have an _expParams property, so if thats the error youre getting then some actor has an undefined class.
Are you sure you didnt adjust the maximum number of classes you have at some point? when you scroll down your actor list, does everyone have a class?
Also, that specific error message points at code that is trying to reference the actor's class. Like Robro says, I suspect you reduced the maximum number of classes, deleting a class for an existing actor.

Note that the editor may display misleading information:
if existing data references an invalid entry (e.g. class 0), the editor will try to auto-select a valid entry (e.g. class 1). However, in my experience this "auto-select" does not change the existing data. So it might look like the actor has a valid class, but they actually don't.

To work around that, you could change the actor to another class (create another one if necessary), save your project, and test. If that seems to fix it, you can change them back to the original class.

Alternatively:
  1. Make sure there is at least 1 entry on the Classes tab of the Database.
    • For testing purposes, give each class a readable name, e.g. "Class 1".
  2. Delete the actor(s) on the Actors tab of the Database (press Del, or right-click -> Clear).
  3. Remake the deleted actor(s) from scratch.
  4. Save your project, then test~
[Edit: also, make sure you do not test from an old save! Choose New Game when testing, and/or enable Game -> Skip Title Screen. 👋]


The other error, for Hime's Window Background Colors, seems to be related to its Background Color plugin parameter. Double-check the value you've entered for that parameter. If a plugin errors out like that on game boot, it will effectively be disabled for that play session.
Oh thank you both so much! I think I think you guys were both correct and that I had accidentally deleted some classes! I added some back and assigned to a couple of classless Actors and now it works.

Original thread: https://forums.rpgmakerweb.com/threads/getting-these-typeerror-messages-and-im-not-really-sure-what-the-cause-is.179133/