/LoadingScreen

An asynchronous loading screen with its UI built with Slate.

Primary LanguageC++

This is my solution for a loading screen in Unreal. It's possible to manually or automatically display/hide the loading screen. Its UI cannot be built with UMG Widgets, so this repo should also serve as a reference for my future self on how to work with Slate (and expose it to Blueprints), as well as with Modules and Developer Settings. I plan to create a Plugin out of it as soon as possible.

In the engine source code, I believe there's a bug on the MoviePlayer module, specifically in the DefaultMoviePlayer.cpp file. The way this bug behaves is that even if you set up your FLoadingScreenAttributes property bMoviesAreSkippable to false, movies can still be skipabble. This really becomes a problem when you'd like, for instance, to display the loading screen and manually hide it when your game routines are completely ready.

My proposed change on the source code is -- at the time of this writing -- on the line 908 of the given file:

if (IsMovieStreamingFinished() && LoadingScreenAttributes.bMoviesAreSkippable)

The entire file with this change can be found in the Engine/DefaultMoviePlayer.cpp file of this repo. This change in the source code can be found here as well. It's a repo containing all my modifications to Unreal Engine source code.

References