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"

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.

Login to Vote

ComponentTools - UMG
Affects Versions4.234.22.2
CreatedJun 11, 2019
UpdatedApr 30, 2020