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 causing flickers and bad lag between levels

Hello,

My project is a VR cinematic experience that moves the users through an environment without any interaction or control. I have several levels that are all sublevels within a ROOT persistent level, that is completely empty except for a background audio file that plays throughout the whole experience to make it more seamless. Each level begins with a fade in, and ends with a fade out to smooth the transitions. I am currently using level streaming to take care of the level transitions. A section of the level blueprint is below:

alt text

So, when the project is played, it runs all the necessary console commands to enter VR mode, then it starts a Matinee sequence (offscreen to the left) which simply plays the BG music, and then it runs the level stream nodes. Since my player is not moving on their own, I am handling the level streams with delays which are timed out to the exact time that each level takes to complete (I'm sure that's a roundabout method, so please enlighten me on a better method to use level streaming without triggers. I couldn't find any examples online.)

I load a level, trigger a delay which is the time it takes to move through the level, then load the new level, then fire off a sequence which starts the new level's delay and unloads the last level. It does this for several different levels.

This method has worked perfectly fine without any hiccups for months, and now for some reason between levels I get really bad lag and a glitch in which the level will finish, fade out, and then instead of staying black, the level will flash on again and wait for the new level to load, and then the new level will flash and then go black and do the fade in. I've included a video of this behavior below:

https://www.youtube.com/watch?v=mEh7MGiumks

You can see the flicker glitch in the very beginning, and then after the title screen fades to black, and then again when the next level loads.

I want smooth transitions between each level so that the music initiated in the persistent level can carry on throughout the whole experience. Can someone please, please help me out with this? I read some stuff about async loading, but cannot find any details about how to actually utilize it. Is this what I need? I'm sure my method of level streaming is incorrect, but there is very little documentation on how to use it without the player physically walking on triggers.

I should also mention that in each level, I have a new camera that is loaded through Matinee. Is this perhaps caused by the engine loading the new cameras which makes it flicker? Should I only use one camera throughout? If so, how would I do this? Thanks so much for any help you can offer.

System specs:

  • Windows 10

  • Unreal 4.10

  • NVIDIA GeForce GTX 980

  • Oculus Runtime 0.8

  • Latest NVIDIA Gameworks Driver

EDIT: I'm now on 4.20 and still having this issue. Epic? Could you please shed some light on proper level transitioning without glitches?

Product Version: UE 4.8
Tags:
blueprint.png (85.0 kB)
more ▼

asked Nov 17 '15 at 09:23 PM in Blueprint Scripting

avatar image

jessekirbs
108 7 13 22

avatar image jessekirbs Nov 21 '15 at 04:13 AM

I've upgraded to 4.10 and am still having this problem. The levels all load very quickly and smoothly when tested in editor, but lag a ton when running standalone. What's going on here?

avatar image dogu189 Dec 18 '15 at 09:55 PM

I have the exact same issue anyone know how to solve it??

avatar image poke1103 Sep 03 '17 at 11:30 PM

Same issue in 4.17.1

avatar image Gametamergt Jul 19 '18 at 08:40 PM

Same here in 4.19. While playing in editor my level transitions are smooth as butter, but standalone brings my pc and framerate to it's knees. My best guess is it's already stored in memory while playing in the editor, but not when running as a standalone game. I'd sure hate to go back and subdivide all my levels into even more levels to reduce the amount of data being streamed in at once, but that's the only solution I can see in sight.

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

2 answers: sort voted first

Same problem here in UE4.16

more ▼

answered Jun 06 '17 at 10:17 AM

avatar image

Sleeper.
110 7 11 16

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

I have the same problem in UE4.16.2

more ▼

answered Jul 15 '17 at 04:30 AM

avatar image

Chroman
26 1 2 7

(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