How to get current world?

FWorldContext* world = GEngine->GetWorldContextFromGameViewport(GEngine->GameViewport);

world->World();
13 Likes