Run in background, but don't handle keyboard/mouse input (need it to run two unity players to test networking features)

Hi,

As explained in the title, I need to have two Unity players in order for me to test if the networking is working or not. However, when using two players they both seem to catch my mouse and keyboard commands even though one player doesn't have focus! This makes it very difficult to test if my networked instance works or not...

However, I can't turn off the "Run in background" because the network thread still needs to run...

How do people who develop network games do something like this? Do you use two PC's? I only have one laptop...

Thanks in advance Nick

Hi, try running a WebPlayer build and the Unity Player at the same time; works for me.

Well I don't develop network games but you could always just have a GUI boolean and have any input scripts run an if function based on that boolean and then set the boolean to false when testing the the different game instances. Alternatively, if your game is small some people in the IRC channel may be willing to download the standalone and test it with you, but they might not. Those would be my options. But there is probably simpler solution.