This is caused by FLightmassMaterialProxy doesn't have GetStaticParameterSet() function. (FMaterial::GetStaticParameterSet() is called.)
It can be fixed by adding the following function to FLightmassMaterialProxy.
virtual void GetStaticParameterSet(EShaderPlatform Platform, FStaticParameterSet& OutSet) const override { FMaterial::GetStaticParameterSet(Platform, OutSet); // Get the set from instance UMaterialInstance *MaterialInstance = Cast<UMaterialInstance>(MaterialInterface); if (MaterialInstance) { MaterialInstance->GetStaticParameterValues(OutSet); } }
I shelved this code into CL# 14090262.
[Image Removed]
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-96749 in the post.
7 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.25 |
Created | Aug 12, 2020 |
---|---|
Resolved | Jun 8, 2022 |
Updated | Jun 13, 2022 |