You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
was trying to simulate context lost scenario during immersive-vr mode and got crash in extension code.
VM14:36592 Uncaught TypeError: Cannot read properties of null (reading '0')
at EmulatedXRDevice.onFrameStart (<anonymous>:36592:59)
at XRSession$1.<computed>.onDeviceFrame (<anonymous>:1275:46)
at wrapper ((index):8876)
code to simulate context lost scenario
gl.getExtension("WEBGL_lose_context").loseContext();
// I add 1 sec between these calls to simulate real context switch
gl.getExtension("WEBGL_lose_context").restoreContext();
I dont have real device at the moment so can not say what will happen there, will try to check next week.
But as I know its possible to lose webgl context during vr so should be handled on app side and restore game / end session when that happens.
there is check
Anyone have experience with this ?
thank you
The text was updated successfully, but these errors were encountered:
Hi,
was trying to simulate context lost scenario during
immersive-vr
mode and got crash in extension code.code to simulate context lost scenario
I dont have real device at the moment so can not say what will happen there, will try to check next week.
But as I know its possible to lose webgl context during vr so should be handled on app side and restore game / end session when that happens.
there is check
Anyone have experience with this ?
thank you
The text was updated successfully, but these errors were encountered: