Search Issue Tracker
By Design
Votes
0
Found in
2022.3.52f1
6000.0.26f1
6000.1.0a3
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
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.