/Engine/Source/Runtime/Engine/Public/UnrealEngine.h
Delegate to call to switch worlds for PIE viewports. Is not called when simulating (non-gameviewportclient)
static FOnSwitchWorldForPIE SwitchWorldForPIEDelegate;