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
- Animator Controller throws MissingReferenceException after undoing Layer Creation
- Full stack trace is always printed when an exception occurs in an IL2CPP build
- Licensing Client fails to launch when opening Unity Hub (licensing client path is not found)
- Licensing Client fails to launch when opening Unity Hub
- Different custom Shader behavior when GPU Resident Drawer is enabled
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.