Search Issue Tracker
By Design
Votes
0
Found in
6000.0.25f1
6000.1.0a7
6000.2.0a1
Issue ID
UUM-85846
Regression
Yes
UI Colors are darkened when HDR output is enabled URP draws to render texture
How to reproduce:
1. Open the “OverlayUIColorSpace.zip“ project
2. Enable HDR in Project Settings > Player > Other Settings > Rendering
3. Open the “SampleScene”
4. Enter Play Mode
5. Select the “Main Camera” in the Hierarchy
6. Assign the “WorldRT“ Render Texture to the Output Texture field in the Inspector > Camera > Output
7. Observe the Game view
Expected result: The UI Colors stay the same
Actual result: The UI Colors become darker
Reproducible in: 2023.3.0b6, 6000.0.25f1
Not reproducible in: 2022.3.51f1, 2023.3.0b5
Could not test in: 2021.3.45f1 (HDR is not supported)
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Notes:
- Could not reproduce on Vulkan Graphics API
- This is reproducible in Edit Mode as well, however, Play Mode provides some stability when assigning the Render Texture (sometimes the Game view turns black upon assigning)
- HDR supported computer is required for the reproduction
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Resolution Note:
HDR Output relies on URP handling UI rendering to perform proper color conversion and HDR encoding. When rendering to an external texture (e.g., WorldRT), the UI is rendered by the engine after URP has completed the scene rendering, meaning HDR Output cannot be applied in this case. This behavior is by design, as UI is intentionally excluded from rendering when targeting external textures.
Using a secondary camera allows the UI to be processed by URP again, which re-enables HDR Output. Alternatively, similar results can be achieved with a single camera setup by leveraging custom passes (e.g., blitting the scene to the external texture at the AfterPostProcess injection point).