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 specific texture-streaming data from maps

Hi! I'm working on a project which requires me to load thousands of textures for frames in runtime (25fps). while the approach to show/hide them works just fine, the amount of cached/streamed texture data crashes my project ("Out of video memory trying to allocate a rendering resource."). I already tried to use level-streaming with sublevels to create small packages of 100 frames within each level. I am loading them into the "real" level where they will be shown and I am unloading the last 100 frames. Still the cached/streamed data remains in my storage and keeps on growing with each new set of frames until the engine crashes. I used this approach to avoid needing to rebuild my project with C++ (which I barely know). Is there a way to access specific saved texture data and delete it?

There have been similar posts before, but no solution has been given yet. A Post from 2015: https://answers.unrealengine.com/questions/308513/emptying-the-level-doesnt-free-memory-nor-restores.html "The bug entered is UE-21800. It has been verified and fixed as number of fixes were entered into recent versions that address the issues mentioned here." - Since I'm working in 4.18.2 it just doesn't seem to be true that this bug has been fixed! Inceasing th Pool size only helps temporarily if at all i the number of textures is very high.

Links to older posts with the same problem: https://answers.unrealengine.com/questions/312370/streaming-texture-bugs.html https://answers.unrealengine.com/questions/569825/is-there-a-way-to-unload-textures-using-blueprints.html

Product Version: UE 4.18
more ▼

asked Dec 04 '17 at 09:29 AM in Rendering

avatar image

51 7 6

avatar image Carthis Dec 06 '17 at 01:27 PM

I found this thread with an answer from mighty RAMA further down but it seems to be in C++. Is this the only solution? https://answers.unrealengine.com/questions/374814/unloading-assets-to-free-ram.html

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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