It may occur that during loading screens, materials using material layers will load with GWhiteTexture before the real textures are ready. This seems to be because of a race condition due to PostLoadGroup, causing material layers to PostLoad before textures do.
This shows when cached uniform expression updates are requested between render commands issued by PostLoad() calls.
To make sure the referenced textures get the chance to PostLoad() before the layers do, we need to issue calls ConditionalPostLoad() on all textures referenced by material functions/instances when they PostLoad().
From UDN [Link Removed]
Build command line:
Engine\Build\BatchFiles\RunUAT.bat BuildCookRun -project=PostLoadRace/PostLoadRace.uproject -configuration=Development -build -cook -pak -sign -stage -platform=Win64
Run the application. One of the boxes will be white from GWhiteTexture.
How does TextureRenderTarget2D get TArray<uint8> type data?
How to delete some elements correctly when deleting an array loop?
How do I set a material as a post-processing material?
Why does the REMOVE method of map container remove elements have memory leaks?
UMG RichText not appear image when packaged
What is the difference between Camera and CineCamera?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How would I go about lerping the rotation instead of it snapping when turning (pls dont sue me epic)
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-209041 in the post.
0 |
Component | UE - Rendering Architecture |
---|---|
Affects Versions | 5.4, 5.3 |
Target Fix | 5.5 |
Fix Commit | 32054617 |
---|---|
Main Commit | 32054852 |
Created | Mar 6, 2024 |
---|---|
Resolved | Mar 7, 2024 |
Updated | Dec 13, 2024 |