Where to get the WorldContextObject when World is null?

This was amazing! I’ve been stuck for days trying to figure this out!

For those wondering, I’ve tried the following method but it kept crashing UE since they were returning NULL

UWorld* World = GEngine->GameViewport->GetWorld();