Run several unity clients at once in windows?


I am trying to run two Unity clients at once in Windows, one is in server mode the other is in client mode. However, it seems only the client with the active window is running; for example, if the Client is in focus, the server is not running, and vice versa.

Its not that they are not rendering… they aren’t even running. For example I have a script in the server that spawns objects on the network. If I have the client active I dont get those objects untill I switch to server and back.

Any solutions to this?

Edit → Project Settings → Player

Enable the “Run In Background” checkbox.