Can I have input in loading screen widget while loading a level?


I have the following scenario - I have a loading screen widget which needs to receive input while a map is being loaded via “Open Level” called from BP.

What I was able to find on the matter so far is that no OS messages seem to be processed while the map is being loaded (I’m guessing that this is caused by the fact that both of these operations occur on the game thread).

With this in mind, I was wondering if there’s a way to forward input through to the loading screen widget while loading a map?


You should be able to achieve it with level streaming: OpenLevel could open an entirely empty level with a sub-level, that contains your actual level. On BeginPlay, open up the loading widget (with inputs and etc), and start the level streaming. Once it’s done, you can remove the loading screen (or do whatever you want with it).

I believe, this way, your menu should work properly with inputs, as the level will be loaded async.