Bug report - Half transparent materials leak Passthrough layer over solid objects
I am kindly asking the community for the help and Meta staff to take care of this bug report or redirect me to the better place to submit the bug report.
Possible duplicate of: https://communityforums.atmeta.com/t5/Unity-VR-Development/Transparent-Materials-render-Passthrough-through-them-even/td-p/1060049 My setup is pretty much similar.
Description:
Semi-transparent unlit objects leak passthrough layer over the other objects in the scene. Most of the built-in transparent shaders (or similar like fade mode) are affected by the bug.
Bonus: UI (and Sprite) shaders also have their own problems with passthrough and transparency - they leak the clear flags color instead.
Bonus 2: I saw that the standard material with transparent mode is rendered over other objects as intended but invisible over the passthrough...
Video link: https://drive.google.com/file/d/1IY28LuH17AACvX-IhW4aKclZlq_M-aix/view?usp=sharing
Environment:
- Meta Quest Pro
- Unity 2021.3.25f1
- Oculus Integration SDK 54.1 (Package Manager - June 15, 2023)
Steps to reproduce the bug:
(0. You can fast-forward by downloading the scene I have created: https://github.com/ShivekXR/Passthrough-Transparency-Bug)
1. Follow the guide to create the basic scene (setup for Quest Pro): Tutorial - Create Your First VR App on Meta Quest Headset | Oculus Developers
2. Follow the guide to add the passthrough to the basic scene: Get Started with Passthrough | Oculus Developers
3. Add a semi-transparent object over another one using (standard / generic / built-in) unlit material.
4. Build and run the app and see the result (bug).
Expected Result:
Semi-transparent materials should be rendered over other objects in the scene. The solid objects behind them should block passthrough.
Severity:
Personally - I think 4 out 5. It doesn't crash the app, but makes passthrough visually unpleasant, confusing, not convincing effect.
Any particle effect with opacity look bad by default.