Search Issue Tracker
By Design
Votes
1
Found in [Package]
4.0.6
Issue ID
1341356
Regression
No
[XR][Oculus] Using Grabpass shader results in broken pink textures when Single Pass Stereo Rendering Mode is used
How to reproduce:
1. Open the attached project "1341356_2.zip"
2. Connect the Oculus Quest 2 devoce through the Oculus Link
3. Make sure that in the XR Plug-In Management Oculus settings Single Pass Instanced Stereo Rendering Mode is selected
4. Enter the Play Mode
Expected result: There is a proper visual overlap between the sphere and the cube
Actual result: The sphere textures become pink
Reproducible with: 2019.4.29f1, 2020.3.13f1, 2021.1.14f1, 2021.2.0b1
Could not test with: 2018.4.34f1 due to outdated XR versions
Reproducible on:
VLNQA00379, Oculus Quest 2 (Quest 2), Android 10, CPU: Snapdragon XR2, GPU: Adreno (TM) 650
Notes:
- It has been previously fixed on the deprecated XR iteration as seen in the case: 1160876
- Does not reproduce on the Multi Pass Stereo Rendering Mode
- Reproduces both in the Editor and in the Android Build
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
- [Happy Harvest] #ThunderLabel text is "\u26C8" instead of "⛈"
- Warning “New Sprite Atlas: There is a mismatch in secondary textures of sprites compared to WhiteUnit, wasting texture space and potentially break draw call batching. Affected Sprites are (Flag)“ is thrown when packing Atlas with Sprite Atlas V2
- Sprite Editor dropdown text is cut-off for options with longer text
- Sprite Editor can't be scrolled horizontally using the trackpad gesture
- BRG picking skips BatchDrawCommandProcedural when selecting the GameObject in the scene
Resolution Note:
The shader included in the repro project has an error and won't compile, thus rendering as pink.
In the fragment shader (GrabPass.shader), the following line should be removed (at line 61) :
UNITY_SETUP_INSTANCE_ID(i);
This macro is intended to be used in the vertex shader stage.