Hi. Sorry for my bad English.
I have problem.
When I try to load my BP widget via WidgetComponent in AMyActor, I have some strange behavior. Its work for started Editor. Compile successful, no errors, all works fine.
If I close Editor and start it again - Editor will failed to load with error - cannot find BP Widget.
How it happens:
I have AActor Object with WidgetComponent;
I created struct FWidgetRef form FTableRowBase;
In struct I added TSubclassOf<UUserWidget> MenuWidget;
I created BP MyWidget with some buttons;
I created MyDataTable via Blueprint;
I set link to **MyWidget **in MyDataTable.
I get *FWidgetRef = MyDataTable->FindRow<FWidgetRef>( FName( “NewRow” ), FString( “Cannot find DataTable with Widget via DT->FindRow” ), true );
So. It is work. When Editor is open. But, If I close it, rhen try to open - Editor every time crash with error.
What do I wrong?
How must I to do?