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
- Animator Controller Layer name stays unchanged in Layers tab when renamed from Inspector
- [RenderingDebugger]Motion vectors are displayed when Phong Tessellation is used on the material and Skinned Motion Vectors are enabled on the GameObject's Skinned Mesh Renderer component
- Shader Graph Enum Keywords always select last element in Entries when Stages is set to Fragment and Recursive Rendering is enabled in the Scene
- [Mac] Glitchy visual artifacts appear when moving around a scene with Sphere Handles
- Crash on memcpy_repmovs when selecting NavMesh Agent objects while in Play Mode in a specific scene
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.