Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

[Bug] Losing WebGL context and restoring it fails to upload textures #10036

Open
HexaField opened this issue Apr 4, 2024 · 0 comments
Open
Assignees

Comments

@HexaField
Copy link
Member

We likely need the resource manager to listen for this and re-upload the textures.

Can be reproduced with document.getElementById('engine-renderer-canvas').getContext('webgl2').getExtension('WEBGL_lose_context').loseContext(); and the avatar / scene will go invisible.

Screenshot from 2024-04-04 10-44-41

@HexaField HexaField changed the title Losing WebGL context and restoring it fails to upload textures [Bug] Losing WebGL context and restoring it fails to upload textures Apr 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants