After updating nwjs to the latest release (0.63.0) I noticed a very annoying issue that I have difficulties solving, meaning, sometimes the scene either becomes totally black or freezes, however the game itself "behind the scene" still works, I can navigate through menu, events are running ok, but the player (me) don't see it. This happens in all nwjs releases since 0.53.0, at least according to my experiments - I didn't check strictly all releases, I've skipped middle releases 0.x.1 - 0.x.5.
I don't have a screen from console, but I've copied a warning message from the console to search for some answers over the internet. Console shows: Warning: WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost.
What I found over the internet (StackOverflow, developer.mozilla.org etc) are very different answers not related to MV engine, varying from damaged display driver, memory leaks, losing context after calling canvas.getContext, and so on, so as a last resort I'm asking here, how can I handle it and restore context without the completely reloading game?
(Huh, this topic perhaps should land in JS Plugin support... Not sure)
I don't have a screen from console, but I've copied a warning message from the console to search for some answers over the internet. Console shows: Warning: WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost.
What I found over the internet (StackOverflow, developer.mozilla.org etc) are very different answers not related to MV engine, varying from damaged display driver, memory leaks, losing context after calling canvas.getContext, and so on, so as a last resort I'm asking here, how can I handle it and restore context without the completely reloading game?
(Huh, this topic perhaps should land in JS Plugin support... Not sure)