Custom Splash screen is not displayed at launch

Hi,

I was looking today in a way to display my custom Splash screen when launching the editor/game with my own project. However I noticed that as soon I added my custom bitmap files, they totally disabled the splash screen.

I spent a bit of time digging in the source code (I’m working with the GitHub version, UE4 4.2.1) and found the problem. I checked first and the path to my splash screen was fine and the file was existing. (In my project settings under the editor the files also appear properly.)

In WindowsPlatformSplash.cpp around the line 680 :

GSplashScreenFileName = FString( FPlatformProcess::BaseDir() ) / SplashPath;

This line was the problem, I changed it to the following to fix it :

GSplashScreenFileName = SplashPath;

The original code was producing a file path like this :

C:/GitHub/UnrealEngine/Engine/Binaries/Win64/V:/UE4Projects/Exil/Content/Splash/Splash.bmp

As you can see my game project is not on the same drive as the engine and the final path is totally incorrect.
Any reason to “divide” the file path with FString( FPlatformProcess::BaseDir() ) ? I don’t understand the purpose of this operation.