Search Issue Tracker
Fixed in c59a8ff
Votes
0
Found in [Package]
5.0.0
Issue ID
1102311
Regression
Yes
[LWRP][XR] Transparent materials are not drawn when skybox is disabled in XR.
How To Reproduce:
1) Setup a new project using LWRP 5.0 (package manager) or LWRP 5.1.0 (latest github as of 11/19/2018)
2) Create a material using the LWRP/Lit shader with Alpha Blending mode and adjust the Albedo alpha to be fairly low.
3) Enable XR in Project Settings, add Oculus or Mock HMD, and set stereo rendering mode to Single Pass.
4) Apply the material to an object in the scene.
5) Set the Clear Flags of the main camera to be Solid Color.
6) Run and notice that the transparent object is not drawn.
7) Set the Clear Flags of the main camera to be Skybox.
8) Set the Skybox Material to 'none' in the Lighting window.
9) Run and notice that the transparent object is not drawn.
Expected Results: Transparent objects are drawn when using clear flags other than skybox and when the skybox material is set to 'none'.
Actual Results: Transparent objects are not drawn when using Solid clear flag or when the skybox material is set to 'none'.
Reproducible in LWRP 5.0.0 and 5.1.0
Tested with Rift using the Oculus SDK and Mock HMD.
Notes:
-Does not affect non-stereo cameras.
-GameView is correct in Editor while the Editor is not playing.
-Also affect rendering of canvas ui elements.
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
- NullReferenceException is thrown when assigning PanelSettings asset to a UIDocument dynamically at runtime
- Crash on GfxDeviceD3D12Base::DrawBuffersCommon when disabling "Allow FSR2" parameter while in Play Mode with Direct3D12 set as graphics API
- Crash on vkGetInstanceProcAddr when setting graphics API to "Vulkan" on Fantasy Kingdom learning project
- Overlay Camera "clear depth" not working on Vulkan+Pixel8
- Shadows from Shadow Caster 2D using 2D Colliders show incorrectly when tiles are removed at runtime
Resolution Note (fix version c59a8ff):
Upgrade to latest Unity 2019.1 and update to the latest version of SRP from the Github repo.