Search Issue Tracker

Fixed in 5.6.0

Votes

0

Found in

5.1.0f2

Issue ID

704216

Regression

No

[Forward|Clear] 2nd camera doesn't clear skybox if main camera has ImageEffect (reading depth) and set to Clear Depth

Image Effects

-

Steps to reproduce:

1. Open attached project (SSAO bug.zip)
2. Open scene "SSAObug"
3. Make sure that "Anti aliasing" (found in Quality settings) is disabled
4. Notice that "Capsule" has two cameras. "Main Camera close" has SSAO image effect enabled and "Camera far" has no image effects
5. Run scene and notice that skybox isn't cleared

Note: Enabling MSAA in quality settings fixes this issue. Adding any type of image effect to secondary camera ("Camera far") also fixes this issue.
Changing "Clear flags" of "Main Camera close" to "Skybox" fixes this issue as well.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.