aframevr / aframevr/aframe

random `WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost` on a relatively simple page.

Open
#4,945 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
17.6k
Forks
4.4k
PR merge metrics
No merged PRs in 30d

Description

Description:

Page crashes, especially if attempting to enter VR as soon as possible. The log warning before the crash is just

WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost
three.js:18936 THREE.WebGLRenderer: Context Lost.

No stack trace, no other clues.

I haven't investigated pulling pieces out yet, will remove environment and see if that fixes it. Issue seems somewhat intermittent at this point, but will update here if I get to the bottom of it.

This page features hand-controls, environment 1.2.0, and networked A-Frame latest. Will pull those pieces out and see which fixes it. Just putting this here for now partially as a reminder to me to investigate later.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the tracked-controllers.html reproduction URL on a Quest 2 and observe the WebGL context-loss warning when entering VR quickly. Compare the page with the listed hand-controls, environment 1.2.0, and networked A-Frame components removed one at a time. Done means identifying a reliable trigger and a clear fix or actionable minimal reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, three.js
Domain
computer-graphics, web-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.