Issue has been filed: https://issues.unrealengine.com/issue/UE-60508
Expected Behavior: HDR should be enabled with no crash.
Actual Behavior: Enabling HDR using Game User Settings in Blueprint crashes the application.
Reproduction Steps:
- Create a new Project: Blank Blueprint, Desktop, Max Quality, No Starter Content
- Create a new Widget Blueprint, in this widget blueprint:
- Create a Button (and optionally text for the button)
- Link up the On Clicked event of the button with blueprint
- [Event On Clicked]
- [Get Game User Settings]
- [Enable HDR Display Output] (Target = Get Game User Settings, Enable = True)
- Compile, Save, Close
- World Settings → Game Mode → GameMode Override → [+] (Create New)
- World Settings → Game Mode → Selected GameMode → Player Controller Class → [+] (Create New)
- [Event BeginPlay]
- [Create Widget] (Class = above defined Widget)
- [Add To Viewport] (Target = Create Widget)
- [Set Input Mode UI Only] (Player Controller = Reference To Self, In Widget to Focus = Create Widget)
- [Set Keyboard Focus] (Target = Create Widget)
- [Set Show Mouse Cursor] (Show Mouse Cursor = True)
- Save All
- Play in Standalone so you don’t crash the editor too.
Sample Projects:
- Repro Case: https://drive.google.com/uc?id=1q6yUdU1EphKKLhMSJLLB08DjCKpVzpLv
- Actually Affected Project: https://github.com/Xaymar/BeatSaberEditor