Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.6.1
Issue ID
1240171
Regression
No
[XR SDK] [Oculus] Skybox is not rendered on right eye when switching Clear Flag from Color to Skybox in Play mode
Reproduction steps:
1. Open the attached project ("1240171Repro.zip")
2. Open the "HandsInteractionTrainScene" scene
3. Set Stereo Rendering mode to Single Pass Instanced (Project Settings->XR Plug-in Management->Oculus)
3. Open Inspector window
4. Select "CenterEyeAnchor" Game object
5. Change Camera Component Clear Flag parameter to Solid Color
6. Set Background to red color
7. Enter Play mode
8. Change Camera Component Clear Flag parameter to Skybox
Expected result: Sky is set to Skybox
Actual result: Right eye is still showing remains of red color
Reproducible with: Oculus XR Plugin 1.6.1, 1.7.0-preview.1, 1.7.0-preview.2 (2019.4.17f1, 2020.1.17f1, 2020.2.0f1, 2021.1.0a10)
Not reproducible with: 2018.4.30f1 (XR SDK not available)
Tested:
- Oculus Rift S
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
- Memory Leak warnings are thrown when creating a new material
- The type selector in the UI Builder does not display primitive types when trying to select one in the "Select Type…" window
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
Resolution Note:
The XR team has investigated this bug and determined the issue is in the GradientSkybox.shader provided by Oculus. We have passed on this issue to our partners at FaceBook. Since the XR team cannot fix this issue, we will be resolving it as "Won't Fix".
You can work around this issue by switching the GradientSkybox.shader type from "Oculus Sample/Procedural Gradient Skybox" to Unity Default "Skybox/Procedural" for "Skybox For Realtime" skybox material~