x

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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Level streaming via dedicated server and debug

I've been experimenting with streaming levels today and I got everything working about how I'd expect via dedicated server except two lingering questions.

Question 1: When I put in the console command "Stat Levels' it gives me a persistent debug message indicated which levels I have streaming and I assume what state they're in but there is no explanation of the color scheme.

My persistent level appears as gray and in the beginning the streamed level is green. When I enter a trigger volume to load the streamed level the green level text turns to pink(loading I assume) then to red but when I exit back out of the volume (to unload the level) it goes to blue. Afterwards the streaming level text alternates between blue and red and eventually (if I wait long enough) back to green. Can anybody explain the meanings to the colors more specifically?

Question 2: It appears when I unload a streamed level the memory footprint on the dedicated server diminishes, so it appears to unload at least something from memory. Can somebody confirm whether streamed levels/content are loaded at runtime on the server as needed and completely removed when not in use or if they're always persisted in memory and only certain objects are removed?

Product Version: Not Selected
Tags:
more ▼

asked Apr 30 '14 at 01:37 AM in Using UE4

avatar image

Cynistyr
131 5 8 11

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

1 answer: sort voted first

This is UDK but maybe it is the same or similar..Hope this helps a bit.

STAT LEVELS

The STAT LEVELS command can be used to see how many levels are loaded in memory.

Red - Level is loaded and visible. Orange - Level is in the process of being made visible. Yellow - Level is loaded but not visible. Blue - Level is unloaded but still resident in memory, will be cleaned up when garbage collection occurs. Green - Level is unloaded. Purple - Level is preloading. If you have a level that doesn't have to be loaded, please make sure to not load it. Yellow levels are good candidates to not load or to defer if you can. If you have a big streaming level, try to split it or optimize.

more ▼

answered Jun 12 '14 at 09:30 PM

avatar image

Basingse
21

avatar image Cynistyr Jun 24 '14 at 07:56 PM

Thanks for the info! :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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