ue4.10 multiplayerShootout Client not showing properly
I have a problem with the multiplayerShootout demo. When i launch a game in the editor and click on play on the server, the map server launch fine but the client screen becomes black. I use ue4.10.2, anyone have the same issue or is it coming from my computer?
asked Feb 04 '16 at 04:54 PM in Bug Reports
There are a number of issues with Multiplayer Shootout sample in 4.8 and beyond, mostly due to a change in how UMG widgets are handled between 4.7 (when the sample was created) and 4.8. We have a bug report in for this particular issue with the Client menu widget disappearing after clicking Play on the Server (UE-17889). This will only happen when playing in the editor, and not a packaged or launched project, and only if the Play settings are set to Auto Connect To Server (Editor Preferences > Play > Multiplayer Options). Disabling that will prevent this problem, but cause other problems with focus in the Client window (also a known issue).
The simplest way to continue testing with this in the sample past 4.7 is to open the Main Menu map's Level Blueprint. You'll see Event Begin Play hooked up to a cast to MyGameInstance. Instead, disconnect Event Begin Play and instead use the Create Widget node set to Main Menu. With that Return Value, run Add to Viewport. Then, to make sure the window gets a visible mouse cursor, Get Player Controller > Set Show Mouse Cursor (True). It should look like this:
Remember, this is just a simple workaround for this issue while Playing in Editor. When you package the game or launch, it's best to reconnect Event Begin Play to the GameInstance cast and function call.
Hope that helps!
answered Feb 04 '16 at 07:46 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here