[C++] WorldContextObject Parameter

That said, based on your description
I’m assuming that you’re calling this
in the constructor or something
similar. That won’t be a safe place to
call from as the class default object
(CDO) will never be in a world and
gets constructed very early. But even
for other instances of the class they
won’t know what world they are in
until much further in the object life
cycle.

I’d look at making the call in
BeginPlay as a reasonable option

Of course, that was exactly it. Thank you! :slight_smile: