Hi, all. Added Yanfly's Item Menu Categories plugin to assist with better categorizing the different item types I have in my game. When I enter the item menu in my game, and scroll down to the first new category, Materials, this error appears. I have included the plugin parameters as well as an example of how I used notetags as well (the Not Independent Item tag is related to item synthesis). I appreciate any and all help, as always! Thanks for reading! 🙂
MV Yanfly Item Menu Categories error: "Cannot read property 'contains' of undefined"
Javascript/Plugin Supportdoes that error happen on a new game, on loading a saved game or on both?
have you checked the order of the yanfly plugins? they have to be in exactly the order on his website, top to bottom.
have you checked the order of the yanfly plugins? they have to be in exactly the order on his website, top to bottom.
It was as simple as starting a new saved game as opposed to loading an old one. I imagine implementing certain plugins (or perhaps any plugin) doesn't play nicely with an old saved game without said plugin? That's something very important for me to remember in that case--lest I forget! Thank you very much, Andar!
Any time you change plugins, plugin parameters, or entries in your database, you should start a new game.
Some database information will refresh with a loaded save, but unless you know which is which you should just start new games after making changes.
Some database information will refresh with a loaded save, but unless you know which is which you should just start new games after making changes.
A lot of plugins need to save their own data to work at all - especially plugins that add to the regular data structure. And older saves will be missing that saved data, therefore becoming incompatible to the changed engine.
and that's about 80% of all plugins - only short plugins that do not need their own data can continue old saves.
but as said above unless you specifically know that a plugin does not need tosave data, you should always start new games with new plugins - because if data is missing that may only be detected hours later if the plugin is rarely used, and then you might not remember that the cause is the incompatible save if you haven't changed anything with plugins for that time.
and that's about 80% of all plugins - only short plugins that do not need their own data can continue old saves.
but as said above unless you specifically know that a plugin does not need tosave data, you should always start new games with new plugins - because if data is missing that may only be detected hours later if the plugin is rarely used, and then you might not remember that the cause is the incompatible save if you haven't changed anything with plugins for that time.
Original thread: https://forums.rpgmakerweb.com/threads/yanfly-item-menu-categories-error-cannot-read-property-contains-of-undefined.171117/