Search Issue Tracker
Fixed in 2018.1.X
Fixed in 5.6.X, 2017.1.X, 2017.2.X, 2017.3.X
Votes
12
Found in
5.6.0b11
Issue ID
892084
Regression
Yes
[Android][VRCardboard] Aspect ratio not preserved when switching from VR (cardboard) to non VR( VRSettings.enabled = false)
Steps to reproduce:
1) Download attached project 'AspectRatio.zip' and open in Unity
2) Build and run 'AspectRatio' scene on a device
3) Click on 'VR' button to enter VR mode
4) After you entered VR mode, press device's back button
Note: Screen view will be stretched (check attached image 'Actual.png')
Expected result: Screen should not be stretched(check attached image 'Expected.png')
Workaround: use Camera.main.ResetAspect() when entering to non VR mode
Regression from : 5.6.0b10
Reproduced with:
5.6.0b10, 5.6.0f1
Not reproduced with:
5.6.0b5, 5.6.0b9
DUT:
Samsung SM G925F (Galaxy S6 Edge), OS:6.0.1, CPU:arm64-v8a, GPU:Mali-T760, Build:samsung/zeroltexx/zerolte:6.0.1/MMB29K/G925FXXU5DQA7:user/release-keys
Verizon SM G930V (Galaxy S7 Verizon), OS:6.0.1, CPU:arm64-v8a, GPU:Adreno (TM) 530, Build:Verizon/heroqltevzw/heroqltevzw:6.0.1/MMB29M/G930VVRU2APG3:user/release-keys
Lge LG H850 (G5), OS:6.0.1, CPU:arm64-v8a, GPU:Adreno (TM) 530, Build:lge/h1_global_com/h1:6.0.1/MMB29M/1626717506ccb:user/release-keys
---------------------------------------------------------
Fixed in: 5.6.4p2, 2017.1.2p3, 2017.3.0b8, 2018.1.0a2
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
IvanTesseract
Aug 25, 2017 17:04
I am still getting this issue in Unity 2017.1.0f3.
fredsa
Aug 05, 2017 06:15
Note, Unity alters both FOV and aspect ratio when entering VR mode, but only resets FOV automatically, leaving aspect ratio to be reset manually.
Several Unity forum posts (https://unity3d.com/search?gq=ResetAspect+VR) where developers have run into this issue unexpectedly:
https://forum.unity3d.com/threads/single-eye-render-mode-like-the-gvr-plugin-with-vr-mode-disabled.437274/
https://forum.unity3d.com/threads/vr-mode-with-mono-camera.479031/
https://forum.unity3d.com/threads/crash-in-android-when-changing-vrsettings-enabled.482719/
https://forum.unity3d.com/threads/enabling-vr-creates-a-massive-amount-of-input-lag-when-playing-without-vr.348160/
https://forum.unity3d.com/threads/stereo-3d-in-unity-3d.63874/