Error with plugins.js

I was avoiding to update my RPG MAKER cuz i didn't wanted to break my project and then after a long period and seeing that the plugins that i needed were updated...

Anyway, it started after i decided to move from 1.2 to 1.3.1 and If the plugins.js has no plugin listed it will open, if i change my plugin list in the RPG MAKER it will be fine till i close and save.
If you remove the plugins from the list using a text editor it will not open as well.
I've tried it with a new project and the same happened.



error.png
I am on the same boat. Steam automatically updated mine and the main game I was working on just had the same problem. So figuring I could fix it by copying/pasting the same file from another project over to fix the scripting issue.... I ended up breaking it where everything I had besides map names are gone. My events are gone, my maps are gone, everything I did to it is gone...


I've spent hours on this game and now it's just gone... Not cool due to some dumb bug. First I thought Steam messed it up on me, but now apparent it's an update from RPG Maker itself.
I am on the same boat. Steam automatically updated mine and the main game I was working on just had the same problem. So figuring I could fix it by copying/pasting the same file from another project over to fix the scripting issue.... I ended up breaking it where everything I had besides map names are gone. My events are gone, my maps are gone, everything I did to it is gone...


I've spent hours on this game and now it's just gone... Not cool due to some dumb bug. First I thought Steam messed it up on me, but now apparent it's an update from RPG Maker itself.

Steam RPG Maker has 1.2.0 as part of its beta tabs. Try reinstalling that one. I have no idea what bugs you are getting.


@kovak have you tried reinstalling all of RPG Maker MV and making sure they're not read only?
Yes, i did reinstall. I got my RM from Steam too @Sinsun1
I know they are not read only cuz i've used notepad++ to edit the file and i'm also getting new erros after wasting 1 hours rebuilding my plugin list from scratch in a new project.
 
@kovak...


Not sure if it's relevant, but the first two lines of the 'plugins .js' file are ...


// Generated by RPG Maker.
// Do not edit this file directly.



Maybe one shouldn't edit that file directly..? 
yMRFAS7.png
It kept happening even if i haven't edited it.


It happened with all my projects
It happened in a new project
It happened even when i haven't replaced the file
the plugin.js is written by the editor to reflect changes on the plugin manager.


If that is written wrong and it also happens with new projects, then either your editor or the newdata is damaged, or something on your computer is blocking the rewrite.


What is the exact and full path to the file? Beginning with the drive letter and ending on the filename? There are a few things that can affect this and that will be visible from the filepath.


Other than that, deinstall RMMV, manually delete the folder for it before reinstalling a fresg download.
D:\Drive\The Last Princess\js\plugins.js

I'll reinstall my RMMV.
@kovak Maybe for the next time seriously you need to make a backup of your project, and move the backup to a hardrive...


i´m sorry about what happen, i wish you luck...


i spend about 2 months in my last project, but happen the same error, actors.json and the other files do not open, but i manage to resolve the problem... you have to update your RPGMMV, and PLEASE make a backup next time...


i´m sorry for your lost 🙁
I have backups of my project and of RMMV v1.2, i know how problematic those things are.
:v

The biggest issue is that working on an outdated project in v1.3.1 makes some encounters to run slower and i can't playtest properly either with this delay.
Reinstalled RMMV
Ok, so those are the new errors (i've updated the js files) and i have to force the console to open using Yep Core Engine, it doesn't wanna open when i press F8
I know one of them is being caused cuz i'm not using Yep Status plugin, this one is easy to solve.

TypeErrorCannot read property 'WEBGL' of undefined

Uncaught TypeError: Cannot read property 'VoidFilter' of undefined
AP_Blocking.js:670 Uncaught ReferenceError: Window_StatusInfo is not defined
rpg_managers.js:1756 TypeError: Cannot read property 'WEBGL' of undefined
    at Function.Graphics.isWebGL (rpg_core.js:1480)
    at Function.Graphics._createModeBox (rpg_core.js:2155)
    at Function.Graphics._createAllElements (rpg_core.js:1850)
    at Function.Graphics.initialize (rpg_core.js:1369)
    at Function.SceneManager.initGraphics (rpg_managers.js:1628)
    at Function.SceneManager.initialize (rpg_managers.js:1617)
    at Function.SceneManager.run (rpg_managers.js:1608)
    at Function.SceneManager.run (/D:/Drive/The%20Last%20Princess/js/plugins/YEP_CoreEngine.js:868)
    at window.onload (main.js:8)
first steps first.


If (after the reinstallation) you make a new project, does that run without any edits or errors?


We neef to get to this step by step, and need to find out what causes the errors.
Fine with blank projects.


The error persists on the old project even when i turn off the plugins and restart RMMV...this will take a longer time than i'd expect...it still happens even after replacing the js folder with the blank project's one and the Game.rpgproject
Then most likely the js-folder got mixed up with an incomplete update-attempt and now contains files from different MV-versions.


And most likely some plugins that are not yet compatible to the newest core-files.


First, check all your plugins for compatibility to 1.3.1 - the easiest way is probably to make a full update to the newest version, but you need to make sure that all remaining plugins are compatible to that. Going back to an older version to keep them is theoretically also possible, but much more complex and more work (because some newer plugins are incompatible to old cores).


And since you can't do that by direct testing any longer, you need to either check the plugin history to learn of its compatibilities, or test them in a new test project on 1.3.1.


Then you have to remove all incompatible plugins from a backup, and make a full update to 1.3.1 again, but this time also replacing the plugin.js from either the base or from the test project. Then open the editor, let it check and rewrite the plugin.js again.


But the last step can only work if all incompatible plugins have been removed first.
It was easier for me to download the plugins again and use the  database of the old project + resources.
It's kinda stable now and close to the old projects, maybe even lighter and faster as well.


I can't really say that it was solved but it was, you can close it now bra :>

Original thread: https://forums.rpgmakerweb.com/threads/error-with-plugins-js.68073/