disagree here as you cant change the BaseClass of some things that may need to be saved, ie Character/PlayerState.
An ActorComponent could work but personally i stick with an interface,
to answer the original question you have 2 choices.
- find and load all actors using a GUID or something.
- destroy/respawn all actors by saving their class/transform and other relevant data