Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.13f1

2022.1.22f1

2022.2.0b15

2023.1.0a16

Issue ID

UUM-19439

Regression

No

[Quest 2][DXC Compiler] Shaders compiled for Multiview Stereo on Oculus Quest 2 receive the same projection matrix for both eyes when built

--

-

Reproduction steps:

# Open the user’s attached project
# Open the “/Assets/Scenes/ControllerSample.unity” Scene
# Switch to the Android platform
# Build and run on a Quest 2 device

Expected result: Both balls have the text “Eye 0” if looking through the left eye and both balls have the text “Eye 1” if looking through the right eye
Actual result: The ball with “Eye 0” text can be seen through the right eye

Reproducible with: 2021.3.13f1, 2022.1.22f1, 2022.2.0b15, 2023.1.0a16
Could not test with: 2020.3.41f1 (Shader error in 'DXC Debug': Couldn't open include file 'Packages/com.unity.render-pipelines.universal/ShaderLibrary/DBuffer.hlsl'. at Assets/shaders/DebugCommon.hlsl(13))

Reproducible with devices:
VLNQA00379, Oculus (Quest 2), Android 10, CPU: Snapdragon XR2, GPU: Adreno (TM) 650

Reproduced on: Windows 10 Enterprise 21H2

Notes:

* The correct result can be seen in the Play Mode or PC Standalone Player when connected with Oculus Link
* 2020.3.41f1, 2021.3.13f1, and 2022.1.22f1 crashes when entering the Play Mode (another report for this IN-23070)
* Using Single Pass Instanced stereo for the same shader appears fine
* The shader on the sphere is a copy of URP Lit, with the DXC compiler pragma set for all passes
* The user’s solution for the issue is in the comments

  1. Resolution Note:

    DXC is currently not officially supported for Android.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.