When the 4th member of my party attacks, there is like a 50% chance that the game returns this error message, idk what is causing it, please help!
Cannot Read Property "Meta" of Null
RPG Maker MV SupportNot a lot of details provided to enable people to help you; you might consider posting screenshots of your plugin manager to show what plugins you use, and in what order, for instance. Does this happen after you start a new game, or have you been using save files from before you changed what plugins you used, or altered maximums on your database?
https://forums.rpgmakerweb.com/index.php?threads/read-rpg-maker-mv-support-template.173581/
https://forums.rpgmakerweb.com/index.php?threads/read-rpg-maker-mv-support-template.173581/
How about we start off with a screenshot of the actual error?
it basically tells you that the engine was trying to access a data object that does not exist.
the most common cause is loading an incompatible savefile - does this happen after you start a new game playtest or after loading a save or in both cases?
the most common cause is loading an incompatible savefile - does this happen after you start a new game playtest or after loading a save or in both cases?
images of error message and plugins provided
sorry for late response, i got frustrated and stopped using rpg maker for a while.
This error happens during combat at the end of choosing my party's actions. It happens maybe 1/5 times. It happens on every save file, new and old, and even in the battle tester. It happens frequently enough that I have had to begin saving after every encounter to avoid my game becoming entirely unplayable.
where did you get the attackskills plugin from, and why does it not have a description?
One cause of a missing description is that you have renamed a plugin - renaming a plugin almost always breaks it.
Or it could be that the plugin was never bughunted and is defective...
it is usually only snippets of code that are missing the description, and I don't know if that would be enough for that function....
One cause of a missing description is that you have renamed a plugin - renaming a plugin almost always breaks it.
Or it could be that the plugin was never bughunted and is defective...
it is usually only snippets of code that are missing the description, and I don't know if that would be enough for that function....
the AttackSkills plugin came from a youtube video, it just gives you the ability to make other skills use the default attack animation, the creator specifically said that because it was so simple that he wouldn't bother publishing it and just asked the viewer to type the like 4 lines of code into notepad and save it as a plugin file. The error message predates this plugin's inclusion. I originally added it to a different project but then added it to my error producing game as well.
if thats the case then you should provide a screenshot of the error trace. replicate the error, press f12 to bring up the devtools window, and go to the console tab so we can see from what the error is coming from.
Learned that the hard way some months ago too... 😅
I thought I was "cleaning" some plugin names but how wrong I was, lol.
it depends. if a plugin has parameters then renaming them will break them. the way plugins access the values of the parameters rely on the name of the file itself matching up with the file name the author set the plugin to look for.
i had no idea this was a thing
this is the error (i am quite a bit concerned about the fact that it seems to be many multiple things)
Its not that each one of those lines is an error. The top line is the singular error. From the bottom up, the ones that follow it are the steps the code took before it encountered the error.
During the crash it was in the middle of running code on the third line of that inside that AttackSkills plugin you said wasnt the issue. You said that you got the error from before you used that plugin, but can you remove it, start a new game, try to get the error again without it, and provide the trace to make sure its the same issue?
Also provide a link to the code (or the code itself if thats easier). It sounds like it was trying to access index 0 of $dataActors, Enemies, Items, Or skills
During the crash it was in the middle of running code on the third line of that inside that AttackSkills plugin you said wasnt the issue. You said that you got the error from before you used that plugin, but can you remove it, start a new game, try to get the error again without it, and provide the trace to make sure its the same issue?
Also provide a link to the code (or the code itself if thats easier). It sounds like it was trying to access index 0 of $dataActors, Enemies, Items, Or skills
this is the AttackSkills plugin btw
also i do not know how to send the code for the index or actors or whatever, i am sorry
Were you trying to get the actor to use their attack motion instead of an animation? use another one to do it like DreamX's plugin.
The approach for the plugin youre using is flawed. that function gets ran in a number of places. Trying to read the notetag data of the current action's skill in a function that can get ran when there isnt one set will just crash the game. I would have imagined any state with a movement restriction om any battler would immediately force the crash at the start of the round.
The approach for the plugin youre using is flawed. that function gets ran in a number of places. Trying to read the notetag data of the current action's skill in a function that can get ran when there isnt one set will just crash the game. I would have imagined any state with a movement restriction om any battler would immediately force the crash at the start of the round.
I will replace attackskills with that plugin and report back later with results
Just to mention it...that looks very much like my code, posted here more than 4 years ago:
forums.rpgmakerweb.com
I've edited that post to add an alternative, safer version of the code:
Also, note that DreamX's plugin only changes the skill motion, unlike mine:
Whether that's a good thing depends on what you want.
Show/Use Weapon when using a skill?
'ello, e'eryone! :D I have set-up a sword technique skill type. When the character who uses a sword has enough TP to use one such of this skill type, the character only uses the "General Skill" pose. I have altered the "General Skill" pose animation to look like he is swinging a sword when...
forums.rpgmakerweb.com
Also, note that DreamX's plugin only changes the skill motion, unlike mine:
Whether that's a good thing depends on what you want.
Original thread: https://forums.rpgmakerweb.com/threads/cannot-read-property-meta-of-null.176582/