Two Errors
Javascript/Plugin SupportIt's a pity you added all those red boxes and blocked out parts of the console log (we can see the errors without them needing to be highlighted).
Is this a new project started in 1.3.1 or one started in an earlier version and upgraded? If the latter, did you completely replace ALL the core scripts?
What are you doing when this happens? Is it immediately on test play, or does it only happen at a certain point when testing? Can you provide more details on what triggers it?
Is this a new project started in 1.3.1 or one started in an earlier version and upgraded? If the latter, did you completely replace ALL the core scripts?
What are you doing when this happens? Is it immediately on test play, or does it only happen at a certain point when testing? Can you provide more details on what triggers it?
I am sorry for the red boxes, I am not quite good with scripts and what not, so I did not realize the other parts were important.
The project was started a couple of months ago, I only came around to continuing it today, and when I started testing it told me I had to update rpgmv, which I did. Even after updating it I got the same error, so it suggested that I make a new project and copy it's js files into the current project folder (I did not replace plugin.js). After doing that I got a "cannot read property webgl of undefined", so I got all the files from the new project to my current one except the json files for the ones I listed above and plugin.js.
Now I am stuck at this error as soon as I open the test play.
All your plugins are turned off? So if you create a brand new project, don't add ANY plugins, don't copy over any files, don't copy your plugins.js file, and test play, does this error appear?
So re-add your plugins, one by one, and test after each one. Don't copy over the plugins.js file. If you test and it crashes, the last plugin you added will be causing it.
Updating MV will only update scripts for NEW projects. Scripts for old projects will stay as-is, unless you manually replace them. It sounds like that's what you did when you created a new project and copied its scripts into the folder for your existing project (unless you copied it the other way - from your old project into the new one).
Let's hope the issue is with one of the plugins, and in that case you just need to head to its thread and see if there's a newer version that's compatible with the current engine, or that the author is going to update it.
Updating MV will only update scripts for NEW projects. Scripts for old projects will stay as-is, unless you manually replace them. It sounds like that's what you did when you created a new project and copied its scripts into the folder for your existing project (unless you copied it the other way - from your old project into the new one).
Let's hope the issue is with one of the plugins, and in that case you just need to head to its thread and see if there's a newer version that's compatible with the current engine, or that the author is going to update it.
I tried replacing them one by one but it did not work, it seems like the project itself is messed up. So I tried transferring the database files and plugins (including plugin.js) from the old project to the new project and it worked. It seems like the project being created by the older version of RPGMV and being used by the updated one was the problem.
Thanks anyways.
I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.
Tech-support is for problems with running the editors only.
Projects will work if they stay at their original version (which may make them incompatible to later plugins) or if they are correctly updated to the newer versions of the engine (which may break compatibility to older plugins).
Since the update itself requires a carefull selection on which files to copy and which files not to copy, and requires updating some plugin files as well, it is possible to break a project by overwriting the wrong files - that's why the update topic stated to make backups.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Tech-support is for problems with running the editors only.
Projects will work if they stay at their original version (which may make them incompatible to later plugins) or if they are correctly updated to the newer versions of the engine (which may break compatibility to older plugins).
Since the update itself requires a carefull selection on which files to copy and which files not to copy, and requires updating some plugin files as well, it is possible to break a project by overwriting the wrong files - that's why the update topic stated to make backups.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/two-errors.67279/
