Random Black Screen

Hello everyone !

I have an issue when I’m testing my game. Duringthe test, the game randomly turn into a blackscreen . Sometime in can play an hour without anyproblems and the next session it turn black after a minute. After that I have to turn off the test, that’sthe only solution I have so far.

The game doesn’t really crash as i can still hear thegame playing (for exemple in a combat, the battle continue, just without the image, only the sound)



When it’s happen and I open the console here iswhat I have :

WebGL: CONTEXT_LOST_WEBGL: loseContext:context lost



For now I tried :

To remove the pluggin I installed since the problemstarts.

To update my game with a more recent Index file.

To update every pluggin.

I did’nt try it when the game is deployed.



Do you guys already had this problem ? Is there a solution ?

Thanks a lot and have a nice making.

Greg
what version are you running, of the editor, and of your core files?

Does this happen just when you go from one map to another, or does it also happen while you're on a map and not transferring to another one? Is it only on certain maps?

What are your system specs? And what plugins do you have running? Are you running other programs at the same time?
My game and my RMMV are both updated to the 1.6.2


It doesn’t happen during transfer. It can happen on a random map or in the middle of a combat. It can happen on any map (I did’nt test it all cause I have a lot of map) It can be in a small with 2 or 3 event and no effect as it can happen on a huge map with 50 events and effects. Same for combat, it happen on a 1v1 combat or a 6V8 combat.


I have a lot of pluggin, is there a way to send here the list easily ?


I’m on windows 10 on a new MSI computer (MSI GE73 Raider RGB 8RF-288FR)

Sometime I have Chrome opened, sometime nothing else…


Did you already see this problem ?
You can just push the screenshots from your plugin manager. That's easy enough.
Also, there's no MV 1.6.2, only 1.5.2 or 1.6.1.
Lost context is a low level error, coming from WebGL itself. From what I have seen, it might be related to a memory leak inside GPU.
I’m not at home, I’ll send the list as soon as possible.

I’m sorry, I meant MV 1.6.1. The last version available.


I probably ask something stupid but, my computer can run some very recent game. Isn’t it odd that a rpg game make it crash ? Or maybe there is no connection…
Memory leak, simply put, is when objects or pointers don't get released from memory properly and new are still created. It results in filling up your memory until it is full and cannot take more. If that is the case, then the only thing that happens with bigger memory is that the game crashes later.

So no, it's not a wonder that despite having a 1060 gpu mv can still crash. What does matter though is the reason behind the crash.
Memory leak, simply put, is when objects or pointers don't get released from memory properly and new are still created. It results in filling up your memory until it is full and cannot take more. If that is the case, then the only thing that happens with bigger memory is that the game crashes later.

So no, it's not a wonder that despite having a 1060 gpu mv can still crash. What does matter though is the reason behind the crash.
Ok, I think I understand it. So the problem could come from events I created with an infinte loop, from unoptimized plugin or from conflicted plugin. Is that right ?
Maybe yes, maybe not. The possibility is there though.

Original thread: https://forums.rpgmakerweb.com/threads/random-black-screen.103260/