Search Issue Tracker

In Progress

Fixed in 6000.0.34f1, 6000.1.0a4

Votes

4

Found in

6000.0.21f1

6000.1.0a1

7000.0.0a1

Issue ID

UUM-83013

Regression

Yes

Errors are thrown when using stacking cameras with two different Renderer2DData

--

-

Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Observe the Console window

Expected result: No errors are thrown
Actual result: Errors are thrown

Reproducible with: 6000.0.20f1, 6000.0.21f1
Not reproducible with: 2021.3.44f1, 2022.3.48f1, 6000.0.19f1

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Errors:

* InvalidOperationException: Trying to SetRenderAttachment on a texture that is already used through UseTexture/SetRenderAttachment. Consider updating your code. (pass 'BlitFinalToBackBuffer' resource 'Backbuffer color').
* Render Graph Execution error
* InvalidOperationException: The CullingResults instance is no longer valid. This can happen if you re-use it across multiple frames.

Comments (2)

  1. SwingWren

    Dec 13, 2024 10:21

    @NIXAAN Maybe an issue with 6000.1.0a6? just tested 6000.1.0a7 and having two cameras (one base and one overlay) and using 2d renderer without enabling compatibility mode (render graph disabled) is working as expected.

  2. Nixaan

    Dec 07, 2024 14:32

    In Unity 6000.1.0a6 projects with 2D Renderer there is no game rendering when there is more than 1 active camera. If there is 1 base camera with an overlay camera added or 2 base cameras the game rendering stops (black screen). The issue is not present when RenderGraph is disabled and compatibility mode is enabled.

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.