ngokevin / aframe-react-boilerplate

:sunglasses: Boilerplate for building virtual reality (VR) experiences with A-Frame and React using aframe-react.
https://ngokevin.github.io/aframe-react-boilerplate/
MIT License
375 stars 156 forks source link

EnterVR won't create stereoscopic view on mobile #24

Open krizepet opened 7 years ago

krizepet commented 7 years ago

When entering VR mode on mobile chrome by clicking glasses icon, it doesnt create stereoscopic/VREffects look. Both in prod and dev.

mhoye commented 7 years ago

I'm experiencing the same issue on mobile Firefox Nightly, on Android. Deploying per the docs gives me no VR mode on mobile, and the motion-sensitive (rotating the phone, etc) controls don't work. Using touch controls give me horizontal motion, but no vertical motion.

mhoye commented 7 years ago

(Oh, I should specify: This is Firefox for Android, both nightly and release, on an up-to-date Nexus 6P.

mhoye commented 7 years ago

) #pro

ngokevin commented 7 years ago

Thanks. It works on iOS, will have to test on Android. Let me know how the aframe.io and webvr-polyfill examples work.

mhoye commented 7 years ago

The examples at aframe.io don't work, with identical problems. The webvr-polyfill examples are 404ing right now.

Interestingly, the aframe boilerplate example at https://ngokevin.github.io/aframe-react-boilerplate/ does work, on github, but doesn't work if you redeploy it per the doc. It exhibits the same problem the examples at aframe.ip.

mhoye commented 7 years ago

Is your gh-pages branch from dev, rather than master?

krizepet commented 7 years ago

Every other example works, even the ghpages link mhoye sent. I ve also tried to clone and run dev version (with aframe 3) - works on desktop but not on mobile...

But I guess there is some difference between ghpages version and repo version. In log I see version of aframe 0.3.0 / in master its 0.3.2...

So I ve downgraded version to 0.3.0 and guess what - IT WORKS. so the problem is probably aframe itself! ;)

ngokevin commented 7 years ago

OK, it seems there's an Android-related issue with the latest VREffect. I will file an issue.

ngokevin commented 7 years ago

Does this work now on 0.5.0?