Weird problem in deployed MV game (nwjs 0.33.3, rpg maker mv v1.4)

So I'm having a weird problem after deploying my game: the game sometimes don't load windows. It happens 50% of the time and sometimes reloading the scene will fix the problem, but sometimes reloading will create the problem in a scene that was previously fine. Also so far the problem has only occured with Window_Base objects, sprites seem to be fine.

See example:

Spoiler
Opening the map menu the first time (note that the text is all drawn inside a Window_Base object):
img_A.png


Now when exiting and reopening the map menu:
img_B.png

Now I have no idea what's causing this, but what I can tell is that it was working fine for years, until and deployed, updated the nwjs version, added greenworks and the steam api things. I suspect that is the culprit, but here's some more info just in case one of you guys know what the issue is:
  • RPG Maker version: 1.4.0
  • Nw.js version (updated after deployment): 0.33.3
  • Greenworks version: 0.14
  • Steamwork sdk version: 1.42
Is it a problem between my rpg maker version and the nwjs version?


UPDATE (ANSWER):

So it seems that the problem was nw.js version 0.33.3. I would advise using other versions. Finished testing with nw.js version 0.31.5 and 0.32.4 with Greenworks 0.14, both nwjs version work fine and greenworks worked perfectly fine. DO NOT USE nwjs version 0.33.3.
  • It seems that downgrading from nw.js 0.33.3 to 0.31.5 (or 0.32.4) made it so there's a problem when trying to read the steam dll. Will see if I can find a fix.
  • Confirmed that the problem is nw.js 0.33.3 and not greenworks and/or the steam api files.
  • Make sure you download the right greenworks version with nwjs. Although Greenworks 0.14 works with nwjs v0.31.5, v0.32.4, and v0.33.3, the download file for greenworks for each of the nwjs version is different!
What are you running it on? You're absolutely certain this only happens after deployment and not when you're running from the project file or test play?

And because a picture doesn't really say a thousand words, and sometimes you need to actually say it, the only difference I'm seeing is that there are a couple of missing windows at the bottom, and the help section is gone from the top. Is that all it is, or is there something else I've missed?
@MushroomCake28 'General Discussion' is for looking at broad themes affecting the making of games. "How do I...?" (implementation) questions belong in the appropriate Support forum for the engine you are using.

Moved to: RPG Maker MV Deployment
@Shaz Yeah it's mainly only windows sometimes not appearing, and it seems to be random (reopening a scene might fix it, however doing it another time might retrigger it also). Sprites are mainly unaffected (although I did see my character sprite disappear and reappear in battle once, but that is only once and I wasn't able to reproduce it).

And yes it only happens after deployment, which I suspect is because I updated the nw.js version on the deployment files (nw.js was updated to 0.33.3). I believe the rpg maker mv 1.4.0 which I'm using is using node-webkit version 0.12.4 or something like that. But anyways, I had to update the nwjs to make it work with the latest version of greenworks.js for the steam deployment. I'm going to retest after updating my project to mv 1.6.2 and hope my plugins don't crash.

Also, if it really is the nw.js, does someone knows what's the highest nwjs version that doesn't conflict with rpg maker mv 1.6.2.
I'd try and change the nw.js back to the old version and remove greenworks (or go back to an older version) and play for a while, just to help identify the real culprit. Otherwise you could be making things worse.

Whatever you do, make a backup or three before you do it!
Okay so I can confirm that the culprit is nw.js version 0.33.3. So if anyone else is encountering the issues I encountered, downgrading to nw.js 0.31.5 worked for me. (UPDATE) I also tested nw.js version 0.32.4 and it seems to also be working. The disappearing windows and sprites issue seems to be gone when using nw.js version 0.31.5 (and 0.32.4).

So there you have it people, you can still use greenworks version 0.14, which is compatible with nw.js version 0.31.5, and which uses the steam sdk version 1.42. However, let me say that I updated my rpg maker to version 1.6.2 (from 1.4.0) for this to work.

UPDATE: It seems that downgrading from nw.js 0.33.3 to 0.31.5 (or 0.32.4) made it so there's a problem when trying to read the steam dll. Will see if I can find a fix.

UPDATE: Confirmed that the problem is nw.js 0.33.3 and not greenworks and/or the steam api files.

UPDATE: I was dumb, the reason why greenworks stopped working after I downgradded nwjs was because I forgot to use the other greenworks file for that specific nwjs version. I was literally killing myself for a stupid mistake.
When you say updated your rpg maker to 1.6.2, do you mean just the engine, or the actual project, which needs to be done manually?
The project was updated to 1.6.2 (all the core plugins and the libraries). However, I did not change any of the third party plugins, including my own plugins.

Original thread: https://forums.rpgmakerweb.com/threads/weird-problem-in-deployed-mv-game-nwjs-0-33-3-rpg-maker-mv-v1-4.111714/