I am using unreal engine 4.8.1 and I download and create the project Multiplayer Shoot out (via Epic Games Launcher).
I run it I start up Level_01 with two view ports and I can see each of the players, they can shoot each other fine scores bullets and ammo all work fine. Then I load up the MainMenu map and get one of the view ports to host a LAN server (via hitting play) then I get the second one to join (via the Find Server widget) as soon as I click join unreal engine closes both viewports and doesn’t give any errors or explanations.
Anyone know what is going on?
Because I we wrote the multiplayer system in the third person template, and when I start a server the viewport goes black and nothing happens.
I appears to go wrong in my BP in the MyGameInstance in the Create session Node (inputs are Player Controller: Get Player Controller (player index 0), Public Connections: 2, Use Lan: True) it always fails and the display Error Dialog never works.
Multiplayer shootout:
Did you use server window for hosting?
You can only host with server window and join with client window, if you try to join with server window you will get a crash.
(Multiplayer shootout have a few bugs with 4.8)
Your project:
Did you try it with packaged project?
If you don’t get a black screen with packaged project then it has to do something with your widget replication.
(You don’t have to replicate your widgets)
I think I see Steam running in the background,close Steam down and try again with compiled project.If Steam is running in the background your project will use Steam as default OnlineSubsystem but if you close Steam it will use nuLL.
With steam you can only have one instance of your game and joining will not work.
Close Steam, try again and let me know how it goes.
I find it hilarious, that I open it in 4.10 play it close it and get errors…something to do with the hide widgets function removing from parent…this is also anot issue I’m getting in my game and the reason I can’t package my game…does anyone know why this is happening?