Search Issue Tracker

Won't Fix

Votes

1

Found in

2022.3.22f1

Issue ID

UUM-67823

Regression

No

[Quest 2] Black background when Custom Skybox is used in Player

--

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/TestSkybox.unity” Scene
3. Build and Run on Quest 2
4. Observe the Player

Expected result: Custom Skybox with space and stars is present
Actual result: Background is black

Reproducible with: 2022.3.22f1
Could not test with: 2021.3.36f1, 2023.2.16f1, 6000.0.0b13 (Error “Execution failed for task ':launcher:minifyDebugWithProguard'“ or PC crashes when opening project)

Reproducible on:
Windows Standalone Player
VLNQA00379, Oculus (Quest 2), Android 10, CPU: Snapdragon XR2, GPU: Adreno (TM) 650

Not reproducible on:
Play Mode

Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Notes:
- Reproducible with Oculus XR and OpenXR
- Reproducible with Vulkan and OpenGLES3
- Reproducible with a Single Pass / Multi-view and Multi-Pass

  1. Resolution Note:

    This is a known issue in URP XR skybox. There is a known gap in URP Skybox's customizability in XR.
    Tech details: The skybox pass in URP is a built-in render pass. Engine goes through legacy code path for setting up Skybox view projection matrices. The code populates legacy stereo buffer in XR and to use that buffer, custom shader has to include builtin shader header.

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.