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.
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 |
---|---|
Target Fix | 5.5 |
Fix Commit | 32054617 |
---|---|
Main Commit | 32054852 |
Created | Mar 6, 2024 |
---|---|
Resolved | Mar 7, 2024 |
Updated | Sep 18, 2024 |