How do I make a Loading Screen?
Hi I've noticed that when I run my game, textures are not completely loaded, they show low res and then they load completely so, How can I preload all my assests so this doesn't happen? I want to have like a loading screen and then start playing once the assets are loaded
I'm using Blueprint so I want to do it in blueprint
thanks for your help
Regarding a C++ version of a Loading Screen, this is how I solved the issue with UE 4.4:
The "Movie Player" is supposed to be used for Loading Screens. Instead of a movie it can also just display some Slate-widgets.
Set up the Loading Screen just before you trigger loading the level (e.g. via ServerTravel) like this:
I put this into a Blueprint Library so it can be used by the Game Designers, too.
Now comes the tricky part regarding the pre-loading of streaming textures. The documentation states the Streaming System will finish streaming all textures before returning control to the Movie Player which then dismisses the Loading Screen. However I checked the engine sources and this is not the case! So you will still end up with textures being streamed in while the game is already running.
The workaround to this is to manually call
during "Begin Play" of your next Game Mode or Level. I also put this into a Blueprint Callable Function, so the Game Designers can completely handle the Loading Screens.
As of UE 4.6.1 there is still a potential crash if you use text widgets in your loading screen. I fixed the problem and submitted a pull request that can be used if you run into that problem: https://github.com/EpicGames/UnrealEngine/pull/799
for 4.8 which approach would be better for loading screen? c++ or bp?
answered Jun 12 '15 at 04:24 AM
The project you probably want to take a look at for reference, if you're using Blueprints, is Swing Ninja. It doesn't detect when textures are finished loading, unfortunately, and that's not something you can set up in Blueprints currently, but you can do something serviceable with a Delay node.
The Blueprints to look for are LoadscreenMask, which is the load screen itself, and BP_SimpleLevel_Select, which sets up the load screen.
Hope that helps!
answered May 16 '14 at 06:19 PM
Try this if you are looking for a simple loading screen using blueprint, It works perfect...
You can add background behind the Loading page if you like to.
answered Oct 25 '14 at 01:59 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here