x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Multiplayer Shootout Level Loading Screen

In my custom Game Instance, I have created a loading screen UMG widget. I then add it to the view port just before calling Open Level to load the level after clicking my play button on my main menu screen. I'm following the way they do it in the Multiplayer Shootout game.

The problem is that once the new level is loaded, the loading screen UMG widget gets destroyed. I believe UE4 destroys all widgets between level loads now. So my loading screen disappears (so quick you don't even get to see it) as it gets destroyed before the level has even finished loading. In addition, my LoadingScreen UMG widget variable in my Game Instance blueprint gets set to None as well. So any further calls to try and add/remove my loading screen causes errors as UE4 has set my LoadingScreen variable to None.

The Multiplayer Shootout game suffers from the same problem. I believe in one of the recent engine updates (like 4.8 I think) Epic changed it so the engine would destroy all widgets when loading a level as it didn't use to do this. Which explains why the problem happens in the Multiplayer Shootout game as I think it was created before 4.8 but hasn't been updated to handle this new way of working.

Once your in the game (multiplayer shootout), press Q to open the in game menu. Then click on Leave to go back to the main menu. However it just goes to a blank screen. No menu is shown and I believe this happens because it gets destroyed before the level has had a chance to load.. i.e. it has been added to the viewport after calling Open Level, but before the actual "level loading" takes place. I think the actual level loading task must be something that occurs later on.

Product Version: UE 4.10 Preview
Tags:
more ▼

asked Nov 08 '15 at 05:29 AM in Bug Reports

avatar image

wilberolive
318 30 45 48

avatar image wilberolive Nov 08 '15 at 06:33 AM

I found this other question, which seems to be about the same thing.

https://answers.unrealengine.com/questions/248603/blueprint-menu-not-showing.html#answer-330293

See my answer to that question. I feel pretty strongly that this is in fact a bug in the engine or at least a poor design decision that needs to be revised/fixed.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi wilberolive,

Thanks for your thorough investigation and report. We already have this bug entered into our system (UE-17175): Multiplayer Shootout was created in 4.7 and not properly updated to reflect the changes in how UMG is handled between level changes in 4.8 and beyond. The sample project is going to be updated to better reflect the correct method for UMG and Multiplayer, but we do not have a timeline for that update yet. Once we do, we'll post on this thread with the update information. Thanks!

more ▼

answered Nov 10 '15 at 07:33 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question