UEditorWorldExtension::GetLastEditorWorld

Gets the world owning this extension's non-PIE valid actors when current world is a play world