Network.InitializeServer doesn't work when PC is locked

Hi all,

When I initialize the Unity networking via Network.InitializeServer under Windows, the following problem occurs: if the PC running the server is locked (i.e. by pressing Win+L keys), the server stops any processing of the network requests, including client connection attempts.

How can this be solved without relying on 3rd-party serverside frameworks such as PlayerIO?

Unity 4.3.4

First are you sure that you have checked RunInBackground in the player settings or do you set Application.runInBackground in a script to true? Also do you run the server in headless(batchmode) mode? If not that probably won’t work since Unity needs a rendering context which is probably destroyed when the PC switches to the security desltop.