Struct properties marked up with the EditAnywhere and BlueprintReadOnly specifiers are exposed in Widget Blueprints by MakeStruct nodes and split pins on Setter nodes. CanBeExposed in K2Node_MakeStruct checks IsEditorOnlyObject on the Blueprint asset instead of the class. Widget Blueprint assets are marked as EditorOnly and standard Blueprint assets are not.

Steps to Reproduce
  • Create a BlueprintType UStruct(MyStruct) with a UProperty marked EditAnywhere and BlueprintReadOnly
  • Create a Widget Blueprint and open its editor
  • Add a "Make MyStruct" to the Widget Blueprint's graph and note that the BlueprintReadOnly property is exposed for editing. This does not occur in a the standard Blueprint Editor.

Have Comments or More Details?

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

Login to Vote

ComponentUE - Gameplay - Blueprint
Affects Versions5.0.3
Target Fix5.5
CreatedJul 21, 2022
ResolvedAug 19, 2022
UpdatedFeb 13, 2024
View Jira Issue