Unload Actor with Sublevel that loaded it

I have this code to load an actor when the sub level loads, however it loads itself into the persistant level (im assuming) because it sticks around after I unload the level.

I’m sure the “Owner” part of this needs to be set to the main level but I’m not sure how to do that. Any help/advice? :smile
load actor
y:

1 Like

All spawning is into the persistent.

If you set the owner to something that actually lives in the loaded level, then when the level is unloaded, the spawned actor will be destroyed.

1 Like