Search Issue Tracker
Fixed in 4.2.0
Votes
1
Found in [Package]
1.1.11
Issue ID
1058829
Regression
No
[LWRP] Adding Post-Processing Layer Causes Skybox To Stop Drawing
SRP Repo: Issue 1604
What happened?
In my project I have three cameras:
Skybox Camera (Clear Flags = Skybox, Depth = 0, Culling = Nothing)
World Camera (Clear Flags = Depth Only, Depth = 1, Culling = Everything But Player)
Player Camera (Clear Flags = Don't Clear, Depth = 2, Culling = Player)
The skybox camera is there because rendering the skybox at the FOV specified in the world camera looks terrible. The player camera has nothing to do with this issue - disabling it still causes the problem to happen.
This setup works fine with just the lightweight render pipeline, but adding a post-processing layer (even without any volumes or overrides specified) causes the skybox to stop rendering. Here's what it looks like without a post-processing layer:
https://i.imgur.com/rOKNW6P.png
And here's what it looks like with one:
https://i.imgur.com/0tqH20F.png
Poking through the frame debugger it looks like the skybox does end up drawing:
https://i.imgur.com/idmASYH.png
But is immediately tossed out when the world camera begins drawing:
https://i.imgur.com/XLTAAwd.png
Which package (Shader graph, LW, HDRP, Core...)?
Lightweight Render Pipeline
Unity template or github source code?
Unity template.
Which package version or branch (1.1.8-preview, 2.0.0-preview, 2018.1, 2018.1-experiment, 2108.2...)?
1.1.11-preview
Unity version, operating system, target platform (standalone windows, mac, iOS, PS4...)?
Unity 2018.1.1f1 in the editor on Windows.
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
- VFX Graph particles are not culled when using URP and Frustum Culling is enabled on VFX Mesh Output
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
Resolution Note (fix version 4.2.0):
Layering of multiple cameras with post being on the last camera is now supported