Search Issue Tracker

Fixed

Fixed in 2022.3.10f1, 2023.2.0b10, 2023.3.0a5, 2024.1.0a1

Votes

0

Found in

2022.3.5f1

2023.2.0b3

2023.3.0a1

2024.1.0a1

Issue ID

UUM-45838

Regression

No

[URP] HDR output can't be turned off via HDROutputSettings API in the Editor

--

-

This requires an HDR display to repro.

*Steps:*
1. Download [HDR calibration sample]([https://github.com/Unity-Technologies/HDR-Calibration-Sample/tree/pr-22lts)]

2. Open the project with 22LTS (2022.3.5f1)
3. Open and edit {*}UI_HDRToggle.cs{*}, in TurnOnHDR() and TurnOFFHDR() remove 
            #if UNITY_EDITOR
            UnityEditor.PlayerSettings.useHDRDisplay = true / false;
            UI_HDRHelper.editorHDRJustBeingTurnedOff = false / true;
            #endif
4. Save script and go back to the editor, hit play
5. On GameView, toggle the HDR checkbox, you will notice that when you toggle it off, HDR is off for 1 frame and automatically turn itself back on.
 
*Reproducible:*
2022.3.5f1.0.15175
 
*Note:*
Similar issue in HDRP is reported here: https://jira.unity3d.com/browse/UUM-29770
bugfix: [https://github.cds.internal.unity3d.com/unity/unity/pull/31988/files]

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.