Search Issue Tracker
Fixed
Fixed in 2021.3.28f1, 2022.3.3f1, 2023.1.1f1, 2023.2.0a15
Votes
0
Found in
2020.3.38f1
2021.3.8f1
2022.1.13f1
2022.2.0b4
2023.1.0a6
2023.2.0a1
Issue ID
UUM-12865
Regression
No
Rendered texture's overlay UI has a different size compared to the rendered texture in the Scene view
How to reproduce:
1. Open the attached “CustomSRP” project
2. Select “Main Camera” in the Hierarchy
3. Resize the camera preview in the Scene view
4. Observe the camera preview
Expected result: The red panel is centered and scales correctly when resizing the preview window
Actual result: The red panel is not centered and moves when resizing the preview window
Reproducible with: 2020.3.38f1, 2021.3.8f1, 2022.1.13f1, 2022.2.0b4, 2023.1.0a6
Reproducible on: Windows 10
Notes:
1. Same issue occurs when applying the “RenderTexture” target texture to the main camera
2. Correct functionality can be observed in the Game view
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
- "Browse" button for Xcode in the "Build Profiles" window is too big
- USS styles fail to inherit correctly when contentContainer is overridden in a custom control
- Copying and pasting Animator Transitions leads to unexpected behaviour
- "ShaderGraph" misses a space in the "Project Settings" section
- UI Builder inspector’s checkbox fields can be activated when clicking anywhere in the value field
Resolution Note (fix version 2023.2.0a15):
Overlay UI rendering uses render-target resolution instead of the backbuffer resolution when appropriate.
Resolution Note (fix version 2023.1.1f1):
Fixes the UI rendering to use the render-target dimensions instead of the display buffer dimensions when calling ScriptableRenderContext.DrawUIOverlay from an SRP.
Resolution Note (fix version 2022.3.3f1):
Fixes the UI rendering to use the render-target dimensions instead of the display buffer dimensions when calling ScriptableRenderContext.DrawUIOverlay from an SRP.
Resolution Note (fix version 2021.3.28f1):
Fixed the UI rendering to use the render-target dimensions instead of the display buffer dimensions when calling ScriptableRenderContext.DrawUIOverlay from an SRP.