Spawning a Widget from an Object Class

Forgive me pulling this thread from the past, but it’s one of the few first google results and none of these solutions are ideal for me.

I’ll leave a solution here for those who have C++ base classes:

  • add meta = (ShowWorldContextPin) to the UCLASS() specifiers of your UObject base class, this will expose the WorldContext pin on the CreateWidget node