Unloading a stream level destroys all actors and references for that level?
I have a question that i really haven't found a clear answer yet.
I am facing some out of memory issues and i would like to ask this "simple" question.
Does unloading a stream level destroys all actors and references for that level or do i have to do it manually?
My player that does not get destroyed for the duration of the game, has references to almost anything that moves. I am starting to get a feeling that even when i unload a streaming level, all the actors of that particular level ,still get referenced in memory. Problem is, that if that is the case over time the game will eventually crash.
Does anyone know what is really going on?
asked Feb 22 '16 at 06:19 PM in Using UE4
If the actors are part of the levelstream then they will unload allong with the levelstream.
If you want to make sure that's the case have a volume covering the whole level stream and have it destroy any actor that is within uts boundaries, which should be any actor inside the level stream. I'd spawn this volume and do this just before you unload the level stream.
Follow this question
Once you sign in you will be able to subscribe for any updates here