Description

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.

Steps to Reproduce
  1. open attached project on 4.25 [Link Removed]
  2. see screen

 

[Image Removed]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-96749 in the post.

7
Login to Vote

Won't Fix
ComponentUE - Graphics Features
Affects Versions4.25
CreatedAug 12, 2020
ResolvedJun 8, 2022
UpdatedJun 13, 2022