Reference Actor of Sublevel in Persistent Level in BP / C++

Hey guys,

I work with level streaming (one main level and one streamed level). Now I want to proceed a camera switch between my cam in my persistent level to my cam in my streamed sublevel. Do you have any ideas how to reference the cam of the sublevel in my level blueprint (or in C++)? Referencing within one level isn’t a problem.

Thanks in advance!

On Begin Play (in Camera BP or SubLevel LevelBP) send your Camera refference to a easy to access Class like Controller, GameInstance, GameMode, etc.

In your other Level get the Easy to access Class and than the Camera Refference (Do a isValid Check first in case your SubLevel didnt stream in yet)

You could also get it from Overlap Events if thats alligns with what you try to achieve.

In General I would advise to keep things like that in the Persistant Level and simply keep them Hiden until you need them.