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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
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.