NW.js issues with mac

Hi Everyone

I'm hoping someone else runs RMMZ on a Mac. I bought the newest macbook air a month ago and restarted an old RPG project on RMMZ. From what I read, RMMZ can run on a macbook, but the NW.js framework can have performance issues with newer macs. I'm not sure if that's the case here, but sometimes when I run a playtest, I'll get an error message. After a few playtests with this error message, I start to notice serious lag that can only be resolved by restarting my macbook.

Any help is greatly appreciated. I saved the detailed report if that helps.

Screenshot 2025-12-31 at 3.01.47 PM.png
Here's the second error message

Screenshot 2025-12-31 at 3.30.19 PM.png
I'm not sure if this is related to your lag issues, but I've noticed that a playtest sometimes doesn't shut down properly and continues running in the background, eating up more and more memory over time. This is with RPGMaker MV, but MZ also uses nwjs, so perhaps the same thing could happen. So, I'd recommend opening up Activity Monitor to check if there are any nwjs processes running. You can just type "nwjs" into the filter field, and force quit them if there are any. Of course, don't do this when you have a playtest (or even a deployed build of your game) running.

If you do want to track down the actual cause of the crash, there might be something in the Console app that can provide a clue. There could be a crash report or some nwjs logs that you can post here. There might be a chance that such information could help solve the issue. (EDIT: And the detailed report you mentioned may also be helpful, as you guessed.)

I've also had issues with nwjs quitting abruptly when I launch a playtest, though for some reason I don't get the "quit unexpectedly" prompt, so it might not be the same thing that you're seeing. I've also had issues with sudden "loss of WebGL context" or something; though in that case it didn't quit, I've speculated that the abrupt quits might be the same root cause. For me, since it only happens occasionally and pretty much only when the playtest is first starting up, I've just decided to live with it. I don't know if your case is similar, though.

In any case, regarding the two error messages you screenshotted, I think it's fine to just click "Ignore" and "Don't Reopen", respectively.
Any help is greatly appreciated. I saved the detailed report if that helps.
Double check and make sure you are using the arm64 version (assuming you are not on an Intel Mac) of nwjs which should be at least v0.77:


Some info to setup if needed - should be similar for MZ I believe but you are welcome to search the forums - be sure to use arm64 for mac and not macos64 or whatever the version is for intel:
Hi Everyone

I'm hoping someone else runs RMMZ on a Mac. I bought the newest macbook air a month ago and restarted an old RPG project on RMMZ. From what I read, RMMZ can run on a macbook, but the NW.js framework can have performance issues with newer macs. I'm not sure if that's the case here, but sometimes when I run a playtest, I'll get an error message. After a few playtests with this error message, I start to notice serious lag that can only be resolved by restarting my macbook.

Any help is greatly appreciated. I saved the detailed report if that helps.

View attachment 356539

I had the same issue after updating to Tahoe. I solved it by downloading the most recent stable nw.js from here (normal, at present it's the 0.106.1 version).
Then, if you have the Steam version of RPG Maker MZ, you "Browse local files" from the library and from there you right click RPGMZ.app and choose "Show Package Contents". When you have done this you move to
Contents -> Resources -> nwjs-mac folder. The file you have to replace is contained here: nwjs.app.
Before doing anything though make sure to backup the nwjs-mac folder, so you can roll back the old version if problems arise!
Thanks for the replies

Double check and make sure you are using the arm64 version (assuming you are not on an Intel Mac) of nwjs which should be at least v0.77:

I ran the command uname -m in the Terminal and the output was arm64.

I had the same issue after updating to Tahoe.

I just updated to Tahoe, but was having this problem before that.

solved it by downloading the most recent stable nw.js from here (normal, at present it's the 0.106.1 version).
Then, if you have the Steam version of RPG Maker MZ, you "Browse local files" from the library and from there you right click RPGMZ.app and choose "Show Package Contents". When you have done this you move to
Contents -> Resources -> nwjs-mac folder. The file you have to replace is contained here: nwjs.app.
Before doing anything though make sure to backup the nwjs-mac folder, so you can roll back the old version if problems arise!
I'll follow these instructions and report back.

Thanks again everyone.
Update -

I ran several test plays and it loads quickly without any error messages. I bookmarked your link, as I imagine this is something we have to do after every major update on the mac.
Update -

I ran several test plays and it loads quickly without any error messages. I bookmarked your link, as I imagine this is something we have to do after every major update on the mac.
I am happy to hear that.
I think I did it twice in the 3 years I am using RPG Maker MZ, I update it when I start encountering problems.

Happy developing!
Thanks

Now I'm getting back to my plugin compatibility issues in another thread

Original thread: https://forums.rpgmakerweb.com/threads/nw-js-issues-with-mac.181702/