aframevr / aframevr/aframe

Green Plane in Hello WebVR disappears in VR

Open
#4,828 1 comment 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

Looking at the Hello WebVR example in VR makes the green plane below the sphere, cube and cylinder, disappear on iOS 14 (iPhone 12 and 8, WebGL 2 enabled or not, A-Frame 1.2 or 1.1, but not 1.0.4). Every time.

I don't believe that this is connected to ongoing view frustum culling issues in Three.js (where geometry disappears when it hits the top or bottom of the union frustum and never returns) because the green plane disappears even if I hit the scene graph with a:

AFRAME.scenes[0].object3D.traverse((node) => {
    node.frustumCulled=false ; console.log(node)
});

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 by reproducing the disappearance in the Hello WebVR example on iOS 14 with A-Frame 1.1 or 1.2, then compare it with 1.0.4. Check whether disabling frustum culling changes the result, as described in the issue; done means the green plane remains visible in the affected VR setup without regressing the older behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, three.js
Domain
ar-vr-xr
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.