4.18 VR Loading Screen Methods make HMD Black

I am trying to build a loading screen for my projects mostly for VR. I use Oculus Retail. My problem is whenever i try to use a method, my loading never ends. I mean headset stuck in black screen and loading finish doesn’t fire.

I first tried this method A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums

Everything is fine until i add the code. Unreal compile fine but when i launch it black screen in HMD and stuttering view in my monitor. Even tough my headset doesn’t display anything i can see it is tracking head movements in my monitor. But like 5 fps, its obviously trying to load something.

I have put a log after this line in the tutorial:

GetMoviePlayer()->SetupLoadingScreen(LoadingScreen);

after this line fire, this warning appears:

0]LogUObjectGlobals: Warning: Failed to find object ‘Class None.’

black screen in HMD starts here.

After i ALT+F4 the preview window EndLoadingScreen(UWorld InLoadedWorld) fires.

So i changed the method to this one : https://docs.unrealengine.com/en-us/Platforms/VR/SplashScreens
As interesting as it is, it made the same thing. Black Screen in HMD, 5 fps preview in monitor…

Maybe i don’t know the simplest setting to tick, maybe it is a bug with my headset type. I would be appreciated of any help. Thank you…

I just found this tutorial for Oculus and it is same
https://docs.unrealengine.com/en-us/Platforms/Oculus/HowTo/SplashScreens

They all work on VR Preview but not when i launch the game. The first tutorial was “for dedicated server only” so i forgot about “play in editor” mode.

I have been digging about this a lot and found out there are some people having the black screen issue. In the early days like 4.10 someone said it was an Nvidia driver issue, like if you use Intel drivers it works. Intel graphics cant be used due to framerate so that’s not an option. I will try and install 4.17 now. maybe its a version issue. There are no updates for splash screen in 4.18 release notes so i assume what works in 4.17 should work on 4.18 too right ?

Guess i’ve made progress…

https://docs.unrealengine.com/en-us/Platforms/Oculus/HowTo/SplashScreens

in this tutorial when i put “add loading screen” to the VrPawn->BeginPlay Oculus gets in to splash screen in “OculusVR Plugin” and stuck there. (I noticed this when i put a texture in to Project Settings->Plugins->OculusVR->Splash Screens->Splash Descs. It is an array of splash screen descriptors accepting textures and their locations in world.) But when i put a 0.2 delay before the “add loading screen” node there is no black screen. But of course no splash screen at start.

In “Play in editor” mode a grey world with loading text with an Unreal logo is coming up in HMD. So Unreal editor can make the transition from Oculus client to Unreal client.

Only solution for me is start game with an empty level, after delaying 0,2secs show the splash screen manually.

It seems the best option is to use splash screens, instead. They are custom to VR and the traditional loading screen technique doesn’t work.