Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants