Search Issue Tracker

Third Party Issue

Votes

1

Found in

2022.3.39f1

6000.0.12f1

Issue ID

UUM-76256

Regression

No

GameObjects with Materials that utilize Shaders from the "CScape" Asset are flickering when SRP Batcher is enabled and Forward+ Rendering Path is used

--

-

How to reproduce:
1. Open the “Paragon” project attached in a G-Drive folder
2. Open the “City” scene
3. Click on the “ParagonPipeline” in the Settings folder (Assets → Settings)
4. In the Inspector, enable the SRP Batcher feature
5. Click on the “ParagonRenderer” in the Settings folder (Assets → Settings)
6. In the Inspector, set Rendering Path to Forward+
7. Observe the Scene View

Expected result: Buildings are not flickering
Actual result: Buildings are flickering

Reproducible in: 2022.3.39f1, 6000.0.12f1
Could not test with: 2021.3.41f1 (numerous compilation errors)

Reproducible on: Windows 10, Windows 11 (user’s)
Not reproducible on: No other environments tested

Note: The Asset creator has suggested that the issue might occur because the SRP Batcher does not immediately submit all mesh data

  1. Resolution Note:

    flickering is because some shaders doesn't contain the proper
    #pragma multi_compile _ _FORWARD_PLUS
    line in URP lit passes.
    Adding the new keyword fixes the issue.
    (Note: it does not flicker without SRP Batcher by chance because even non used vars are still initialized to 0. SRP Batcher doesn't initialized un-necessary vars for speed )

Comments (1)

  1. caden3ds

    Jul 27, 2024 19:45

    Can you guys consider fixing this for unity 6 too?

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.