If executing CreateDynamicMaterialInstance and SetTextureParameterValue on BeginPlay for the decal component, the decal will be different the first and second time level streaming.
(See attached gif for step3,4)
The following log is output on the second level streaming.
LogMaterial: Warning: MaterialInstanceDynamic /Memory/UEDPIE_0_ThirdPersonMap_MainGrid_L0_X8_Y3_DL0.ThirdPersonMap:PersistentLevel.BP_TestObject_C_UAID_9C7BEF4D27D9D22401_1118863137.Decal.MaterialInstanceDynamic_0 is not a valid parent for MaterialInstanceDynamic /Memory/UEDPIE_0_ThirdPersonMap_MainGrid_L0_X8_Y3_DL0.ThirdPersonMap:PersistentLevel.BP_TestObject_C_UAID_9C7BEF4D27D9D22401_1118863137.Decal.MaterialInstanceDynamic_1. Only Materials and MaterialInstanceConstants are valid parents for a material instance. Outer is Decal
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-160269 in the post.
0 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 5.0, 5.0.3 |
Target Fix | 5.1 |
Created | Jul 26, 2022 |
---|---|
Resolved | Aug 23, 2022 |
Updated | Sep 10, 2022 |