UPROPERTY not being displayed in editor but exposed in UMG UUserWidget custom class

Hi,

I’m trying to expose in the editor a member variable from my UUserWidget class but it’s not showing in the property panel. I’m able to access it in UMG Blueprint (as shown in this screenshot):

Here’s the code for my classes:

I would expect it to be displayed in the panel under the “Custom Widgets” category, but it’s not.

image

What am I missing? Any tips or pointers would be greatly appreciated.

Thanks!

Add EditAnywhere after BlueprintReadWrite like this:

UPROPERTY(BlueprintReadWrite, EditAnywhere…

EditAnywhere- Indicates that this property can be edited by property windows, on archetypes and instances. This Specifier is incompatible with any of the the “Visible” Specifiers.

2 Likes

Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.