Search Issue Tracker

Won't Fix

Votes

0

Found in

2023.1.9f1

2023.2.0b8

2023.3.0a5

Issue ID

UUM-48373

Regression

Yes

Console is spammed with Warnings when assigning an unsupported renderer type to a Camera in a stack

-

How to reproduce:
1. Create a 3D URP project
2. In a Scene have 2 Cameras, one as type "Base", the other as "Overlay"
3. Select the "Base" Camera in the Hierarchy and in the Inspector add the "Overlay" Camera under the section "Stack"
3. In the Project Browser create > Rendering > URP > URP 2D Renderer
4. Add this Renderer to your current "Render Pipeline Asset"
5. In the Hierarchy select your "Overlay" Camera and under "Renderer" select your 2D Renderer
6. Observe the Console

Actual result: The Console is spammed with Warnings when a redraw in Scene View or Game View occurs until the Renderer is removed from Render Pipeline Asset or the Camera is removed from the Stack
Expected result: No Warnings are logged or 1 Warning is logged in the Console

Reproducible with: 2023.1.0a20, 2023.1.9f1, 2023.2.0b8, 2023.3.0a5
Not reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.0a19

Warning: "Only cameras with compatible renderer types can be stacked. The camera: Camera are using the renderer Renderer2D, but the base camera: Main Camera are using UniversalRenderer. Will skip rendering
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)"

Note: In order to reproduce, a new project has to be created each time

Reproduced on: Windows 11

  1. Resolution Note:

    This is intended design for unsupported behaviour. For a long time other warnings were logged each frame and this warning is no different

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.