/Engine/Source/Runtime/Engine/Classes/Engine/World.h
Removes the passed in actor from the actor lists. Please note that the code actually doesn't physically remove the index but rather clears it so other indices are still valid and the actors array size doesn't change.
void RemoveActor ( [AActor](API\Runtime\Engine\GameFramework\AActor) * Actor, bool bShouldModifyLevel ) const