Description

Modifying the default value of a UUserWidget parameter declared in a c++ in blueprints appears to have no effect after compiling. The default value will reset back to "none".

Additional info. The property was set to be "EditDefaultsOnly"

UPROPERTY(EditDefaultsOnly)
UUserWidget* TestWidget;

Steps to Reproduce
  1. Download that attached project
  2. Generate Visual studio project files
  3. Open project
  4. Open the "ThirdPersonCharacter" blueprint
  5. Set the "Test Widget" value to anything other than "None" (VREDAnimationSampleUI is available by default)
  6. Compile

Result: The Property will be set back to "None"
Expected: The property value of test widget would be retained after compiling the blueprint

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-76060 in the post.

4
Login to Vote

Unresolved
ComponentTools - UMG
Affects Versions4.234.22.2
Target Fix4.23
CreatedJun 11, 2019
UpdatedJun 11, 2019