Search Issue Tracker
By Design
Votes
0
Found in
2022.3.52f1
6000.0.26f1
6000.1.0a3
7000.0.0a1
Issue ID
UUM-75592
Regression
Yes
[URP] Sprite is redrawn on every Camera movement frame after its Render Type is changed from Overlay to Base and Camera Transform Component is changed
How to reproduce:
1. Open the attached project "CameraBug"
2. Open the "SampleScene" scene
3. Select the "Main Camera" GameObject in the Hierarchy
4. In the Inspector change the "Render Type" field to "Overlay"
5. Change the "Render Type" to "Base"
6. Make sure the Game View is visible
7. Change the Rotation or the Position of the "Main Camera" GameObject
8. Observe the Game View
Expected results: A single instance of the Sprite is drawn in the Game View
Actual results: The Sprite is drawn on every Camera change
Reproducible with: 2023.2.0b4, 6000.0.10f1
Not reproducible with: 2021.3.40f1, 2022.3.36f1, 2023.2.0b3
Reproducible on: macOS Sonoma 14.5 (M1)
Not reproducible on: No other environment tested
Notes:
- Only reproducible in URP
- Triggering the Game View redrawing (e.g. by maximizing or docking) solves the issue
- Reproducible in the Play Mode
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Can’t delete gradient keys with Mac keyboard or context menu options
- Editor freezes for a few minutes when closing or switching a VFX window that was opened in a previous project
- UI Overlaps when switching Render Pipeline Asset for different Quality Levels in Quality Project Settings
- Ray Tracing Shader link to the documentation isn’t working
- Warning "BatchRendererGroups currently don't support override shaders" is spammed in Play mode when using H-Trace WSGI with BatchRenderGroups
Resolution Note:
Verified to be as designed. Switching Camera Type to Overlay sets the Background Type to Uninitialized, causing the background not to be cleared. If the camera is to be used as a Base render type, you'll have to switch the Background Type to Skybox or Solid Color.