/Engine/Source/Runtime/Engine/Public/Subsystems/WorldSubsystem.h
This should not be called on default object since the method assumes a valid outer world.
[UWorld](API\Runtime\Engine\Engine\UWorld) & GetWorldRef() const