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
- Crash on mono_dump_native_crash_info when changing a Particle System Renderer’s Material Shader to Standard Unlit
- VFX Prefab doesn’t have Preview icon in Project window and Preview window is empty in Inspector window
- “RenderSettings customReflection texture has invalid type” error keeps getting thrown even when Environment Reflections was set back to Skybox from Custom with an invalid texture
- Particle System with the custom Material breaks the Scene view when the material is using a Shader Graph with the Texture with the power of negative value
- Invalid asset path & Invalid value for font MissingAssetReference Warnings are spammed when deleting a Font used by any Element in UI Builder
Resolution Note (fix version c59a8ff):
Upgrade to latest Unity 2019.1 and update to the latest version of SRP from the Github repo.