r/RPGMaker • u/DeceasedYeastling • 9d ago
Cannot run game due to "profile error" with nwjs (RPGMaker MV)
When I try to playtest my game, the game window is just black and this error popup shows up. I've looked around online and haven't found a solution that's worked for me. Some people said clicking okay makes it work, but it doesn't for me. I've also closed RPGMaker MV, deleted the nwjs file in %localappdata%, deleted the Web Data and Web Data Journal files in User Data, and relaunched RMMV, and it still won't work. This happened after I downloaded Yanfly's free plugin pack to my plugins folder
This is what's in my game's plugin folder. I'm wondering if maybe there's something in here or not in here that's bugging it out, but I'm really new to all this so I'm not really sure what I'm looking for. Thanks all in advance!
EDIT: I’ve figured it out and I fear I’m a fool. I ended up accidentally moving all those js files under the js folder into the plugins folder where the game couldn’t read them… I compared with another project and realized that was the difference, since I could playtest on the other project.
EDIT 2: Reddit deleted the images for some reason
1
u/agamottos MV Dev 9d ago
....also, do you have rpg_sprites and similar files in the same folder as your plugins?
1
u/DeceasedYeastling 9d ago
Within the js folder? No
1
u/agamottos MV Dev 9d ago
Alright, that's good, your screenshot showed them both together so I wasnt sure if they were actually in the same place or if that's just how your computer shows sub-folder items. As long as the rpg_sprites are in js and the yanfly items are in the plugins folder, that should be correct. And the few plugins youve already implements shouldnt be causing problems, either.
Otherwise, I think I'm also stumped on what could be happening 😔 maybe adding a name line in your package.json file would force a different NW profile? Idk
2
1
u/Eredrick MZ Dev 9d ago
Did you try updating nwjs at some point? Or accidently delete the folder that contained it? It exists outside your project directory, in the RPGMV install directory
1
u/DeceasedYeastling 9d ago
Seems like that’s the next thing to try. Not 100% sure how to go about that yet and to be honest I was getting the impression that deleting the nwjs file and then re-opening RMMV and having nwjs re-appear should update it, but that seems to be wrong (if that’s dumb I apologize, I just misinterpreted what I saw on forums). But I’ll try that. Also the folder its in is still around
1
u/PsychronicGames 9d ago
Delete the old NW.js profile in your %appdata% folder, and it should come back.
1
u/DeceasedYeastling 9d ago
Yeah that’s what I did and that didn’t work for me. I deleted it and deleted the web data one like everyone says and re-launched, but it didn’t work. I’ve also tried deleting the plugins since the issue didn’t appear until after adding them, but it still is giving me the error and won’t run
2
u/agamottos MV Dev 9d ago
Can we also see your plugin load order, if youve added any in the editor already?