Forum Discussion
VadymDobrohursk
8 years agoHonored Guest
Singlepass bug on devices with Mali
Not sure where to post this - Unity marked this bug as "won't fix". Maybe this is a driver related problem or GearVR.
So, bug description: Single-pass stereo is using the same eye index for both eyes on Gear VR
1. Single-pass stereo is using the same eye index for both eyes on Galaxy S6 SM-G920F (Exynos 7420 Octa, Mali-T760MP8)
2. Open project. Switch to Android. Generate osig files for your device(s) (https://dashboard.oculus.com/tools/osig-generator/). Run on device. Cube will be red in both eyes (should be red and green, as in Editor)
Extended description: https://issuetracker.unity3d.com/issues/android-gearvr-both-eyes-are-rendered-in-the-same-color-when-using-single-pass-stereo-rendering-method-star-on-mali-gpu
Link to simpe project showing the bug:
https://1drv.ms/u/s!AoTwxKaxH8d4huIOdG5_GoSH0PNTWQ
So, bug description: Single-pass stereo is using the same eye index for both eyes on Gear VR
1. Single-pass stereo is using the same eye index for both eyes on Galaxy S6 SM-G920F (Exynos 7420 Octa, Mali-T760MP8)
2. Open project. Switch to Android. Generate osig files for your device(s) (https://dashboard.oculus.com/tools/osig-generator/). Run on device. Cube will be red in both eyes (should be red and green, as in Editor)
Extended description: https://issuetracker.unity3d.com/issues/android-gearvr-both-eyes-are-rendered-in-the-same-color-when-using-single-pass-stereo-rendering-method-star-on-mali-gpu
Link to simpe project showing the bug:
https://1drv.ms/u/s!AoTwxKaxH8d4huIOdG5_GoSH0PNTWQ
3 Replies
Replies have been turned off for this discussion
- VadymDobrohurskHonored GuestIn Player settings, make sure Stereo Rendering Method is set to Single Pass
- JianZExpert Protegehey @VadymDobrohurskyi
I checked your shader, Android single pass rendering has some different with the PC one( due to driver bug workaround ), you have to follow certain steps to have it applied, Unity document it here https://docs.unity3d.com/Manual//Android-SinglePassStereoRendering.html
However, the doc has a few typos/errors, I had changed your shader as an example, you can use it as reference.
I'll talk to unity to have them fix the doc
Cheers - VadymDobrohurskHonored GuestThat's awesome, @JianZ!
Thank you, shame on me :)
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago
- 2 years ago
- 3 years agoAnonymous