Description

UMaterialInterface::GetStaticComponentMaskParameterValue gets the parameter value from the static switch list instead of from the StaticComponentMask list

GitHub branch 5.8 still looks to have this issue.

MaterialInterface.cpp#L557

The solution might be simply changing EMaterialParameterType::StaticSwitch to instead be EMaterialParameterType::StaticComponentMask in the aforementioned function.

Steps to Reproduce

Steps to Reproduce

  1. Call GetStaticComponentMaskParameterValue(...) on a Material Interface
  2. Observe result to be incorrect

 

Have Comments or More Details?

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

0
Login to Vote

Fixed
Fix Commit53173139
CreatedApr 24, 2026
ResolvedApr 27, 2026
UpdatedMay 19, 2026
View Jira Issue