aframevr / aframe

:a: Web framework for building virtual reality experiences.
https://aframe.io/
MIT License
16.69k stars 3.98k forks source link

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

Open Alessioforlante opened 2 years ago

Alessioforlante commented 2 years ago

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

Alessioforlante commented 2 years ago

I'll test it soon on iOS and will let you know if it also is reproducible there

dmarcos commented 2 years ago

What browser?

Alessioforlante commented 2 years ago

I've managed to reproduce it on both Chrome and Firefox on Android

dmarcos commented 2 years ago

Does this reproduce on iOS?

Alessioforlante commented 2 years ago

Yes I've managed to reproduce it on an iPhone SE