[UE5.2.1, Bug report] Widget elements disappear on widgets with inheritance

Having the same issue:

  1. Create a UsetWidgetBlueprint (A)
  2. Add a button to (A)
  3. Call Button.SetStyle on (A).EventPreConstruct and set to a ButtonStyle variable.
  4. Inherit (A) as the parent of a new UserWidgetBlueprint (B)
  5. Change ButtonStyle on (B)
  6. Compile
  7. Add (B) to ActorBlueprint as WidgetComponent

Expected result: the WidgetComponent displays (B) with the set ButtonStyle variables