I’m working on an application that has to work all the time in my browser. Unfortunately after some time the application lost contex. How to restore a lost context ???
I ask you for help.
Please help me,
How can I restore a lost context???
What do you mean by “lost context”?
I suspect he means his gpu (driver) went idle and lost the direct3d/opengl context. We have same error occur once in a blue moon when Windows Update just happens to update a gpu driver while we’re in the middle of running some WebGL content. It’s not specific to WebGL obviously, any 3D application is susceptible.
In general (hand waving), once a context is lost it’s extremely difficult to restore (essentially in practice it’s impossible).
yes, if it’s the direct3d/opengl context we are talking about, I don’t think there is much Unity can do about it.
I see there is a webgl extension to simulate context lost. I’ll look into it…
Any Update to this issue?
Any update on this?
Any update on this? I’m getting context lost in mid-game with 2021.3
Bumped. 2021.3 WebGL. Works on most PCs and most browsers excerpt some specific Windows 10 / 11 boxes with certain version of Chrome getting context lost. http://enigmafactorgames.com/parc
Hi folks. Would anyone here be willing to open a bug report for us to look into this “WebGL context lost” issue? We aren’t aware of it outside of this thread and it hasn’t shown up in our tests / other bug reports.
Unfortunately there is no way to “restore” a lost WebGL context (see: HandlingContextLost - WebGL Public Wiki)
it can be re-created, but all the GPU data held by the previous context is gone.