Problem when extending UUserWidget

Hey guys,

I’m currently working on the main menu for my game which includes a screen to choose an already created world to play. I’d like to do the file handling for the worlds with C++ therefore I created a class which is extending UUserWidget and set it to be the parent for my WidgetBlueprint. All that is working fine until I change something in the .cpp or .h file and recompile the source. As soon as it is done I get a bunch of errors inside the graph of my WidgetBlueprint and I cant compile it anymore. The only thing that helps is restarting the editor, after doing so everything works fine again. I hope you can help me, here are the compiler results:

Error This blueprint (self) is not a HOTRELOADED_SingleplayerWidget_0, therefore ' Target ' must have a connection.
Error This blueprint (self) is not a HOTRELOADED_SingleplayerWidget_0, therefore ' Target ' must have a connection.
Error This blueprint (self) is not a HOTRELOADED_SingleplayerWidget_0, therefore ' Target ' must have a connection.
Error Failed to find struct for pin  Worlds 
Error Structures don't match for  Break ListElement 
Error Structures don't match for  Make ListElement 
Error Failed to find struct for pin  Worlds 
Error Failed to create property CallFunc_Array_Length_TargetArray from  Target Array  due to a bad or unknown type (Array of Structures)
Error Failed to create property CallFunc_Array_Get_TargetArray from  Target Array  due to a bad or unknown type (Array of Structures)
Error Failed to create property CallFunc_Array_Get_Item from  Item  due to a bad or unknown type (Structure)
Warning AssociatedVarProperty property overriden LeftText from  Left Text  type (Text)
Warning AssociatedVarProperty property overriden RightText from  Right Text  type (Text)
Error Failed to create property K2Node_MakeStruct_ListElement from  List Element  due to a bad or unknown type (Structure)
Error Failed to create property CallFunc_Array_Add_TargetArray from  Target Array  due to a bad or unknown type (Array of Structures)
Warning [0310.41] Compile of MainMenu_Singleplayer failed. 12 Fatal Issue(s) 2 Warning(s) [in 213 ms]

Worlds is a TArray of a struct, both defined in in my code, somehow all the errors seem to be related to this array or the struct.

Here is a snippet of the blueprint that is causing the error:

See also here: Problem extending UUserWidget - C++ - Epic Developer Community Forums

Thanks in advance,
Taces

Bump.
Nobody has an idea?

From the error message I’d suggest that the blueprint can’t find it’s parent class because it doesn’t reference the hot reload correctly but I don’t know how to fix that.

I guess it’s the same problem, like this one Using a C++ struct in blueprint and hot reload - Blueprint - Unreal Engine Forums
I also need a solution to this problem, because it’s very annoying