When a specific configuration of HDR cvars are set, PIE in a New Editor Window will not render the game world.
Settings (For DefaultEngine.ini):
```
[SystemSettings]
r.AllowHDR=1
r.HDR.Display.ColorGamut=0
r.HDR.Display.OutputDevice=5
r.HDR.EnableHDROutput=1
r.HDR.UI.CompositeMode=0
Slate.EnableGlobalInvalidation=1
```
Also tested in //UE5/Main, CL: 35660734
The Licensee has suggested a fix for Mainline:
In the file ElementBatcher.cpp, and the function "FSlateElementBatcher::AddCachedElements(...)":
```
if (EnumHasAnyFlags(CachedBatch.GetDrawFlags(), ESlateBatchDrawFlag::HDR))
else
{ RenderBatchesSDR.Add(CachedBatch); }```
Note that in Unreal Engine 5.4, the function to modify is "FSlateBatchData::AddCachedBatchesToBatchData(...)" instead.
1. Download the Licensee's test project and open
Note that the Test project is built for //UE5/Main, but can be opened with //UE5/Release-5.4 with a new Level (see addl info URL)
2. Play PIE in "New Editor Window (PIE)" mode
3. Observe that the new PIE window does not render the game world, but still captures the mouse.
How do I set a material as a post-processing material?
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
UMG RichText not appear image when packaged
How to delete some elements correctly when deleting an array loop?
What is the difference between Camera and CineCamera?
What controls of umg have mouse wheel events in UE4.27?
How to use the.usf file in the ue4 engine Shader in the material?
Why does UV setting float2(1,1) display incorrectly in the material's custom node?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-222795 in the post.
0 |
Component | UE - Editor - UI Systems |
---|---|
Affects Versions | 5.4, 5.4.3 |
Target Fix | 5.6 |
Created | Aug 28, 2024 |
---|---|
Updated | Jan 6, 2025 |