Engine Crashing on if Statements??

so… is not the garbaje collector then…

¿Your widget is a blueprint derived from a C++ class?

Maybe it’s not instantiated.

Try to get the class like this:

TSubclassOf< UMyClass > WidgetClass;

And set it using the blueprint