[Android/Windows] Using custom material breaks stereo rendering
Unity version
6000.0.57
Unity editor platform
Windows
AVPro Video edition
Core
AVPro Video version
3.2.9
Device hardware
Meta Quest 3
Which Android OS version are you using?
12
Unity Graphics API
Vulkan
Video API
media3/ExoPlayer
Texture format
BGRA
Audio output
Unity
Any other Media Player component configuration required to reproduce the issue.
No response
Which output component(s) are you using?
Display uGUI
Any other component configuration required to reproduce the issue.
Custom UI/Default material on Dispay uGUI
The issue
When making a new material, assigning UI/Default shader to it, changing the queue to 3010 to avoid alpha sorting issues, the stereo rendering breaks. Side by side stereo video just displays side by side instead of in 3D
Media information
Sadly the clips are copyrighted, so cannot be shared here. But all side by side content has this issue both on Android and in the Unity Editor
Logcat output
I only now see that at runtime a custom shader/material is assigned. Please add a warning if you try to load stereo content on a regular material
hmm, it should work in uguidisplay if it switches away from default shader. we're going to look into this.
Appreciate it! When using the stereo shader on the material it works, so that's nice since we only have stereo content atm.
Btw something else, is AV1 decoding on Android planned?