Doesn't render background on mobile out of vr in some cases
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17.6k
- Forks
- 4.4k
- PR merge metrics
- No merged PRs in 30d
Description
Description:
A-Frame doesn't seem to render background (whether it's a-sky or cubemap sky, it doesn't matter) when there are no other entities present to render. It happens only on mobile. You can reproduce it in the given URL on mobile device (I use Chrome on mobile). Steps to reproduce:
- Drag to a view where no boxes are present
- Enter VR Mode
- Exit VR Mode
If you exit VR with entities present on screen, everything will render as expected.
If you enter and exit VR when no boxes are present, it will show white screen - no backround. If the screen is white you can drag to a place where entity should be shown, it will finally render everything.
No demos from https://aframe.io/ have this issue since there is always default cursor present on screen.
Temporary fix I use for my demos is very distant, small entitity as a child of camera.
- A-Frame Version:
- Platform / Device:
- Reproducible Code Snippet or URL: private-scent.glitch.me/ (same demo as in https://github.com/aframevr/aframe/issues/3330 - when i don't have AFrame's default cursor, there's nothing to render)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by opening private-scent.glitch.me in Chrome on a mobile device and reproduce the VR enter/exit sequence with and without visible boxes; done means the background renders after exiting VR in both cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics, mobile-dev, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100