Search Issue Tracker

Won't Fix

Votes

1

Found in

6000.0.21f1

Issue ID

UUM-82531

Regression

No

2D Light Textures show the lights of any 'blend style' index higher than theirs (if present) when they aren't visible by the Camera using Render Graph

--

-

How to reproduce:
1. Open the attached project "CustomLit-LightTexturesBug.zip"
2. Open Assets/Scenes/SampleScene.unity
3. Open Edit>Project Settings...>Graphics
4. Disable Render Graph>Compatibility Mode in the Project Settings window
5. In the Scene view move the view to the right until the Lights on the left are not visible

Expected results: The red light on the Sprite stays the same
Actual results: The red light on the Sprite intensifies

Reproducible with: 6000.0.21f1
Could not test with: 2021.3.44f1, 2022.3.47f1 (no Render Graph)

Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested

  1. Resolution Note:

    There are no fixes planned for this Bug

Comments (3)

  1. ilcane87

    Oct 28, 2024 09:20

    For anyone happening upon this report, apparently the bug is actually fixed in the latest versions (Unity 6 LTS+), it was probably solved when they added auto-clearing of render textures being re-used by RenderGraph to prevent issues like this, which basically acts as a workaround to the problem in the light 2D rendering pass.

    In other words, the confusion about this was just due to a communication issue by Unity.

  2. ilcane87

    Oct 17, 2024 17:34

    I’m very surprised to see that this bug introduced with Render Graph won’t be fixed, and there is not even a suggested workaround for it.

    I updated my project to Unity 6 and now I’m afflicted with issues because of this, issues that were never there in Unity 2022LTS and previous versions, am I just supposed to accept that any time a 2d light is off screen the rendering of all others will be erratic?

    Could I get some clarifications about it?

  3. ilcane87

    Sep 19, 2024 11:28

    For clarity, this can be tested without Render Graph since it doesn't directly use its API (there are no scripts in the project), and the issue is not reproducible on Unity 2022 LTS.

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.