Description

FKismetCompilerContext::CreateUserDefinedLocalVariableForFunction() does not copy the metadata from the source FBPVariableDescription entry. Class variables work because there is code for that in FKismetCompilerContext::CreateClassVariablesFromBlueprint().

Currently not exposed by default, but if a details customization is created to allow a project's users to set metadata on local variables via FBlueprintEditorUtils::SetBlueprintVariableMetaData(), that data will not be copied to the generated property at compile time.

Steps to Reproduce

n/a

Callstack

n/a

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Gameplay - Blueprint Compiler
Affects Versions5.5
Target Fix5.6
CreatedJan 23, 2025
UpdatedJan 27, 2025
View Jira Issue