You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.
The depicted issue in the JPG of the link above occurs in a Xiaomi mi8 with 1080x2280 screen resolution and 2.1111 aspect ratio. It doesn't happen in a normal 1.777 aspect ratio mobile 1920x1080 screen. As you can see, it shows aproximately 7% of the video image outside the stereo mask (3.5% on each side), and the white vertical mark unaligned.
It also occurs on a Xiaomi mi 9 with display size of 1080x2340 px
HARDWARE/SOFTWARE VERSIONS
Unity: 2019.02.f1
Google VR SDK for Unity: 1.18.4
Device manufacturer, model, and O/S: Xiaomi Mi 8 Lite / Android 9 PKQ1.181007.001
Device display metrics: Physical size: 1080x2280 / Physical density: 440
The command adb shell dumpsys display | grep mBaseDisplayInfo returns the error "'grep' is not recognized as an internal or external command", so I used "adb shell wm size" and "adb shell wm density"
Google VR Services: ???
The requested command: adb shell pm dump com.google.vr.vrcore | findstr /i "packages: versionName" returns the error "'findstr' is not recognized as an internal or external command,
operable program or batch file".
Viewer manufacturer & model: Xiaomi Mi 8 Lite / Xiaomi Mi 9
Having previously added the "Cardboard" VR SDK at the "XR Settings" of Unity "Player Settings" I turn on the Cardboard mode through the code: UnityEngine.XR.XRSettings.LoadDeviceByName("Cardboard");
The app is in spanish, you have to select first "Cardboard" and then "Galería de experiencias". After that it will happen with any of the first videos that appear on the list
Trying to correct it, when I change the "Aspect ratio mode" found at Unity "Player Settings" to "Custom", and assign the "Up to" value to 2.1 or any other float value, the Unity Console throws the following error:
C:\Users\USER\Documents\Unity\360app\Temp\gradleOut\build\intermediates\merged_manifests\release\AndroidManifest.xml:50: AAPT: error: '2,1' is incompatible with attribute maxAspectRatio (attr) float
The text was updated successfully, but these errors were encountered:
jaguardigital
changed the title
GVR stereo mask unaligned in Xiaomi display aspect ratio > 2.1
GVR stereo mask view appears distorted in a Xiaomi with display aspect ratio > 2.1
Oct 22, 2019
jaguardigital
changed the title
GVR stereo mask view appears distorted in a Xiaomi with display aspect ratio > 2.1
GVR stereo view mask appears distorted in a Xiaomi with display aspect ratio > 2.1
Oct 22, 2019
jaguardigital
changed the title
GVR stereo view mask appears distorted in a Xiaomi with display aspect ratio > 2.1
Cardboard stereo view mask appears distorted in a Xiaomi with display aspect ratio > 2.1
Oct 22, 2019
jaguardigital
changed the title
Cardboard stereo view mask appears distorted in a Xiaomi with display aspect ratio > 2.1
Cardboard stereo view mask does not fit into a Xiaomi with display aspect ratio greater than 2.1
Oct 23, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
SPECIFIC ISSUE ENCOUNTERED
http://www.jaguar.com.co/web/unity_googlevr/unity_google_vr_unaligned_aspect_ratio%202.1.jpeg
The depicted issue in the JPG of the link above occurs in a Xiaomi mi8 with 1080x2280 screen resolution and 2.1111 aspect ratio. It doesn't happen in a normal 1.777 aspect ratio mobile 1920x1080 screen. As you can see, it shows aproximately 7% of the video image outside the stereo mask (3.5% on each side), and the white vertical mark unaligned.
It also occurs on a Xiaomi mi 9 with display size of 1080x2340 px
HARDWARE/SOFTWARE VERSIONS
Unity: 2019.02.f1
Google VR SDK for Unity: 1.18.4
Device manufacturer, model, and O/S: Xiaomi Mi 8 Lite / Android 9 PKQ1.181007.001
Device fingerprint: Xiaomi/platina/platina:9/PKQ1.181007.001/V10.3.5.0.PDTMIXM:user/release-keys
Device display metrics: Physical size: 1080x2280 / Physical density: 440
The command
adb shell dumpsys display | grep mBaseDisplayInfo
returns the error "'grep' is not recognized as an internal or external command", so I used "adb shell wm size" and "adb shell wm density"Google VR Services: ???
The requested command:
adb shell pm dump com.google.vr.vrcore | findstr /i "packages: versionName"
returns the error "'findstr' is not recognized as an internal or external command,operable program or batch file".
Viewer manufacturer & model: Xiaomi Mi 8 Lite / Xiaomi Mi 9
Link to Unity project that reproduces the issue:
The Unity project http://www.jaguar.com.co/web/unity_googlevr/baq360.zip
The APK http://www.jaguar.com.co/web/unity_googlevr/baq360_aspect_ratio.apk
STEPS TO REPRODUCE THE ISSUE
Having previously added the "Cardboard" VR SDK at the "XR Settings" of Unity "Player Settings" I turn on the Cardboard mode through the code:
UnityEngine.XR.XRSettings.LoadDeviceByName("Cardboard");
The app is in spanish, you have to select first "Cardboard" and then "Galería de experiencias". After that it will happen with any of the first videos that appear on the list
Trying to correct it, when I change the "Aspect ratio mode" found at Unity "Player Settings" to "Custom", and assign the "Up to" value to 2.1 or any other float value, the Unity Console throws the following error:
C:\Users\USER\Documents\Unity\360app\Temp\gradleOut\build\intermediates\merged_manifests\release\AndroidManifest.xml:50: AAPT: error: '2,1' is incompatible with attribute maxAspectRatio (attr) float
WORKAROUNDS (IF ANY)
I exported the project to Android Studio, and changed manually the AndroidManifest.xml adding the parameters specified at https://developer.android.com/guide/practices/screens-distribution
<activity android:resizeableActivity="false">
<meta-data android:name="android.max_aspect" android:value="2.2" />
But it didn't solved the issue
The text was updated successfully, but these errors were encountered: