When running a Client & Server setup in studio, only the window in focus runs properly.
Description of video below:
The client on the right has the follow while loop running:
while wait(.5) do print("Running") end
When the client is selected, you can see that every half second an additional “Running” is printed to output. Whilst I am moving the character around, the client on the left does not replicate this movement. This is because the client on the left is not selected, and is not running or doing any updates. When I then select the client on the left it updates the position of Player1, and then when I move around on the left client this does not replicate to the client on the right. You can also notice that the while loop within the client on the right stops running, this is because it is not selected.
To reproduce, go into studio, under “Test” click “Start” in the “Clients and Servers” section. It may well work as expected for you, but it does not for me.
I do not know why this is happening but it’s completely stopping me from testing my games. This behaviour is consistent with the ‘Server’ window as well, if I had a server script with a while loop in, that would only run whilst selected.
This bug is extremely recent, it’s only popped up yesterday, I haven’t experienced this before.
I’ve reinstalled studio, restarted my pc… All the basic stuff. Is there some obscure configuration option that I’ve enabled?
Intel Core i5-6600K CPU @ 3.50GHz
16.0GB RAM
Radeon RX 480 Grapics