Blueprint Node Construct Object From Class seems to be returning Null Values

Hi,

I’m utilizing the Node stated above to instantiate some Objects out of a Blueprint Class. However, it doesn’t work as it seems to be returning Null Objects. Below is a screenshot of where within my GameInstance blueprint I’m using it in.

Also, what’s the reason for needing an owner to instantiate the Object? I researched and saw that the previous versions (4.9+) did not enforce a non-null value for the “Outer” field.

Any help with this would be greatly appreciated.

Okay after looking around in the 4.9 release notes, which was when the Node was introduced, I found out that whatever is passed into the “Outer” field will determine the lifetime of the created object. Originally I had set this to a Player Pawn, but it doesn’t work. I fixed my issue by passing in the Game Instance object itself, which would hopefully make the created object last as long as the game is running.

What would you pass as the outer if you’re trying to construct a something during editor time (e.g. in a widget’s preconstruct). There doesn’t seem to be any utility for “get editor world” in blueprint