Runtime Loading Without Hitches

Hello,

I am developing a mobile game by using blueprints. It is an endless runner game and game needs runtime loading system. The place i skipped should be unloaded and next one should being loaded. But when it loaded i got fps drop for a moment. It happens especially after get visible. How can i avoid it? or how can i spread loading time to get softer?

Thank you.

1 Like

How are you doing the loading?

I use “Load Stream Level by Name” node and i do not make visible after load i delay 1 sec then i use “should be visible” .

1 Like

Load stream level, should be about as smooth as you can get it, although the visibility part is what causes most of the hitch.

You can also try ‘async load asset’, but will still probably have the same visibility problem.

Smaller levels is better, of course. No complex ( or large number ) of construction scripts to run helps a bit also.

What worked for me was making a Loading Screen, all the blueprints, FX, meshes and complex items that you have in the level and put them in an Array, then Async Load Asset for load them in the memory

Create a Macro - For Each Loop with Delay

Add the Loading Screen in the Level Blueprint

1 Like