Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
VadymDobrohursk's avatar
VadymDobrohursk
Honored Guest
8 years ago

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

3 Replies

Replies have been turned off for this discussion
  • JianZ's avatar
    JianZ
    Expert Protege
    hey @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