mobfishgmbh / Cardboard-VR-Unity-SDK

Apache License 2.0
56 stars 11 forks source link

Rotation of VR camera on Android is laggy #97

Open championsnet opened 3 years ago

championsnet commented 3 years ago

When building for Android the gyroscope is super laggy. The frames are steady at 45 but when rotating the phone the rotation is super laggy. The refresh rate of the rotation feels no more than 10.

This does not happen in iOS where everything is smooth. I should note that on Android I tried it on a Xiaomi Redmi Note 8 and on iOS on an iPhone XR.

championsnet commented 3 years ago

To add to that, input from gyroscope seems to be working fine when I debug it (update interval is 0.02s). The same goes for the rotation which seems to refresh in normal rates (50-60Hz). It still feels extremely laggy when rotating the phone but that is not the case when I use the joystick, the movement is smooth at 45fps...

championsnet commented 3 years ago

Please guys, any help would be appreciated!