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
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Resolution Note (fix version c59a8ff):
Upgrade to latest Unity 2019.1 and update to the latest version of SRP from the Github repo.