I added a new Equipment slot for armors by changing the maximum in the 'Types' tab, i added an item for that type of armor and selected the new armor type for this new item but when i try to equip that item this error shows up
Cannot read 'setObject' of undefined
RPG Maker MZ SupportDo you have any other plugins included?
When you see this error message, the best is to
- Press F8 / F12
- Go to "Console" tab; when you see a red highlighted text paragraph, you are at the right spot
- Screenshot the entire dialog for us
When you see this error message, the best is to
- Press F8 / F12
- Go to "Console" tab; when you see a red highlighted text paragraph, you are at the right spot
- Screenshot the entire dialog for us
Did you start a new game after making the changes or load a save file? I think it doesn't work if you load a save after those changes.
adding a slot is one of the few database changes that will not work with a saved game, because the game is saved without the actor having that slot.
you need to start a new game in playtest after that.
you need to start a new game in playtest after that.
So if i play with a saved game i can see the slot in the menù but still for the code that slot does not exist?
If you can see the slot in the menu it should have adapted - but then what cause the error if nothing else changed?
for further help we need the full error trace, not just its final line.
please follow the instructions in post #2 above to give us the screenshot of the full trace.
for further help we need the full error trace, not just its final line.
please follow the instructions in post #2 above to give us the screenshot of the full trace.
I solved the problem, i had to start a new game thanks to everyone!
Original thread: https://forums.rpgmakerweb.com/threads/cannot-read-setobject-of-undefined.168906/