googlevr / gvr-unity-sdk

Google VR SDK for Unity
http://developers.google.com/vr/unity/
Other
2.71k stars 1.09k forks source link

Vr renders incorrectly on Xiaomi 8 #976

Open 787786815 opened 5 years ago

787786815 commented 5 years ago

Summary: Vr renders incorrectly on Xiaomi 8, the picture is biased to the right. I guess this is because of the notch(like iPhone X notch), but I don't know where the specific reasons are. I used another mobile phone that also has notch(OnePlus 6) to test, and this problem did not occur.

Found using:

Steps to reproduce the issue:

  1. Run any gvr project in vr

Workarounds:

Additional comments: It looks like this. 1540881597056

ddrocco commented 5 years ago

Thanks for reporting! I'll add it to our internal bug list.

787786815 commented 5 years ago

By the way, today I measured it again with my four mobile phones: 1.Xiaomi 8, Android O; 2.OnePlus 6, Android P; 3.Huawei P20, Android P; 4.Huawei P20pro, Android O;

Their screen all have notch. I found that vr rendering on Android P is normal, but on Android O, the rendering has an offset similar to the above picture. And the strange thing is , when I use gvr for unity 1.40.0, all those phones are rendered without problems. But when I used the latest version (1.170.0), phones with Android O had a problem. I used the binary search method to find the version where the problem occur -- 1.100.0, the version below 1.100.0 has no problem. But the versions above 1.100.0 have the rendering problem on the phone with notch.

I hope these can help you. Sorry for my poor English ;)

rusmaxham commented 5 years ago

That's very odd that the version of GVR Unity SDK would affect this issue. Can you reproduce this issue without the GVR SDK for Unity package in your project? You should be able to make a Daydream VR app with just the Daydream VR SDK enabled in Player Settings > XR Settings, but no GVR SDK package in the project.

DavalosMariana commented 5 years ago

I have the same Issue with a Huawei P20 Lite