Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Unloading a stream level destroys all actors and references for that level?

Hello everyone,

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?

Thank you!

Product Version: UE 4.10
more ▼

asked Feb 22 '16 at 06:19 PM in Using UE4

avatar image

571 50 55 76

avatar image Roccinio Feb 24 '16 at 11:24 PM



(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Feb 25 '16 at 05:59 AM

avatar image

361 16 16 22

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question