Search Issue Tracker
Won't Fix
Votes
1
Found in
2021.3.44f1
2022.3.48f1
6000.0.21f1
6000.1.0a7
6000.2.0a1
Issue ID
UUM-82678
Regression
No
Resolution of UI Camera changes when modifying the Render Target of the Main Camera
How to reproduce:
1. Open the “My project.zip“ attached
2. Select “Main Camera“
3. In the Inspector window, find the “Camera Depth RT“ component
4. Change the “Scale“ while observing the Game view
Expected result: The resolution of the image in the Game view does not change
Actual result: The resolution of the image in the Game view stays the same
Reproducible with: 2021.3.44f1, 2022.3.48f1, 6000.0.21f1
Reproducible on: Windows 10, Windows 11 Pro
Not reproducible on: No other environment tested
Note: Reproducible in Player
Comments (1)
-
tatoforever
Sep 23, 2024 18:09
Small note, the expected result should be: UI resolution should not change if main camera resolution changes."
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
As discussed directly with the user, it is a limitation of our old Built-In pipeline, but we are unlikely to adjust this corner case to avoid regressions. To address these kinds of limitations, we've been working for some time on more advanced and flexible UI support in URP:
- In the URP Asset, there's a Render Scale property that allows to easily change the resolution of the 3D scene (scaling it down or up), similar to what the project is doing via the MonoBehaviour.
- In Unity 6, we're working on adding an Injection Point called "BlitToBackBuffer" (the name will change) which will allow users to directly blit custom objects (e.g. your custom UI) into the Back Buffer (at full resolution). This is currently not easy to achieve in URP + Render Graph, and users have been requesting it. Development is ongoing, but initial testing shows that it would address this use case.