By starting PIE while an uncompiled widget is open in the widget editor, it's possible to trigger a call to NativeDestruct on the preview widget. This is especially dangerous because NativeConstruct hasn't been called, so objects assumed to be initialized by Construct may not be when Destruct is called. It appears we set designer flags on the preview widget in FWidgetBlueprintEditor::OnBlueprintChangedImpl, but this call does not occur when the widget is compiled as a result of starting PIE. Since no designer flags are set, the call to NativeDestroy happens when it shouldn't.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-59951 in the post.
3 |
Component | UE - Editor - UI Systems |
---|---|
Affects Versions | 4.19, 4.20 |
Created | Jun 4, 2018 |
---|---|
Resolved | Aug 18, 2021 |
Updated | Aug 18, 2021 |