aframe icon indicating copy to clipboard operation
aframe copied to clipboard

Rotating phone from portrait to landscape mode while loading results in bad starting direction

Open Alessioforlante opened this issue 2 years ago • 5 comments

I've been able to reproduce this 100% of the time on both my project and projects online, on multiple phones. To reproduce it, make sure "Auto-Rotate" is set to ENABLED on your phone, then start an A-Frame game During the loading screen (with the animated dots), rotate your phone to landscape mode. When the loading will finish, the starting direction will be offset, meaning that you will have to rotate to face the default starting area. Here is a screenshot of what I mean

  • A-Frame Version: 1.3.0
  • Platform / Device: Android
  • Reproducible Code Snippet or URL: I could successfully reproduce the bug here as well: https://aframe.io/aframe/examples/showcase/shopping/

Alessioforlante avatar Nov 08 '22 08:11 Alessioforlante