Black screen on clients on 4.11

Hello Everyone,

While updating projects from 4.10 to 4.11 the following problem occurred:
All projects work properly however playing as a dedicated server makes the client’s screens black and not calling begin play.
Playing as server and clients only makes the server has a screen and the clients have black + no begin play call.

This is not a project issue as i’ve only got this on my computer(Tested on a friend’s pc).

Any known issues around this or fixes?

Thank you,
Céleste

Hello,

Could you post the editor logs, found in your project’s directory under Saved > Logs, from when you attempt running this project? There could be some error messages there pointing to what the problem is and why BeginPlay isn’t being called for clients.

Man i am running into the same issue here… In the editor the game works perfectly. In standalone i just have blackscreens, missing mouse cursors etc…

Hello Burnz,

As you’re experiencing the same issue, could you provide the same logs that I asked the other user for? Any information you can provide would be helpful.

Are either of you available to provide logs for the projects you’re experiencing issues with? I’ll need more information before I’m able to proceed in getting this issue reported.

Hey !

Sorry i did not have time. I quickly booted the project and pressed play with 2 clients and a dedictated server.

Here’s the log for itlink text

Thank you for that. Was hoping it would have more information in it, but unfortunately that doesn’t say much. Have you been able to test if this also occurs if this is only happening in PIE or if it is happening when running in Standalone or in a packaged version of the project as well?

If their cases are like mine, which I believe it is, the bug is happening only with clients connecting to a dedicated standalone server, not PIE.

In my case everything runs fine in PIE when simulating a dedicated server and multiple clients. If I package my game and build the server.exe, things stop working ONLY IF I connect the client to the server.

I can launch the client as a stand alone game and it loads the default level fine. If I launch it connecting it to a localhost or remote dedicated server, the game session connects to the server, no error is given on the client or server logs, and the screen goes black after 1 second.

My main project was created using the precompiled version of the engine and my empty test project was built using 4.11.1 source and both have the same issue.

I’ve tested with a locally running server and a dedicated server hosted online and have ruled out networking (ports are all open, no firewall, I’m a NOC engineer). I thought it might be the HUD and disabled it, no resolution.

I have this identical issue. I seriously hope we find a fix!

After days of hammering on this bug, I’ve resolved the issue on my end.

My issue was that my default level was not set to be the default for the server.

Go to Edit > Project Settings > Maps and Modes

If you’re suffering the same bug as me, there will be some generic map listed under "Server Default Map"

Go ahead and check the other server settings, recompile your server and clients, and all should be well.

I’ve tried this before posting, and it did not help.

I tried in a fresh project, and the problem persists.

I’ll try to do a standalone server and see if the problem persists there.

While the fix mentioned by Koniferus didn’t work for you, Céleste, are you experiencing the same behavior as him with the issue not occurring in PIE but only happening with a standalone server? My original attempt to reproduce the problem was in PIE so this may be part of why I’m not seeing the problem.

Also, have you tried making a quick setup to reproduce the problem in a fresh project to see if the same issue occurs? If it doesn’t, this could be something that broke in the conversion process. In case that is what happened, you could try migrating your content from the 4.10 project to a new 4.11 project via the editor’s content migration tools and copy any source code over. While this is a workaround instead of an actual fix, it should be able to get your project working again in the meantime if its successful.

So i tried building the game to then connect to a second instance of the game and i can’t get that to work as i can’t open console for some reason.

I’ve set the shortcut to “Num /” in the engine settings as TAB or ` doesn’t work. So in the built game(Development build) I can’t open console to actually make a server and connect another client to it.

Dropdown box from the button “Play”
Set to 2 clients
Tick dedictated server
Hit Play

I just tried this in a 100% blank project with the “blank” template and this is still happening.

Hm, interesting. Would it be possible for you to walk me through your process of doing a dedicated server / clients with PIE in a fresh project or whatever the method is that you’re getting these black screens in?

If only it were that simple to reproduce on my end… I should’ve asked this previously but are you using a source built engine from Github or one downloaded from the Epic Games Launcher? If you are on a source built version, have any edits to the source been made?

I do have a source engine also from 4.11 and it has the same issue there. Could it somehow be something to do with a firewall setting or anything like that?

To correct* I have source and launcher of 4.11 and both have the same.

Tested with firewall offline, still same issue.