How to test two clients on one device?
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on PUN.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
How to test two clients on one device?
Sami
2020-02-19 16:38:13
So let's say I have two clients in my game, but I am working on one PC. How can I test to see if both sides are working as they should?
Comments
OneManArmy
2020-02-19 19:14:20
and where is problem?
Hi @Sami,
Thank you for choosing Photon!
As @OneManArmy hinted: you can run as many build clients on one machine as you want.
You can also use Unity Editor and builds on the same machine.
@OneManArmy wrote: »
and where is problem?
@JohnTube wrote: »
Hi @Sami,
Thank you for choosing Photon!
As @OneManArmy hinted: you can run as many build clients on one machine as you want.
You can also use Unity Editor and builds on the same machine.
I can just build as many executable as needed. But then I lose the debugging ability and it takes time. I was wondering is there a better workflow?
Windows symlinks. You can create more instances from your Editor. https://support.unity3d.com/hc/en-us/articles/115003118426-Running-multiple-instances-of-Unity-referencing-the-same-project
https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/
Just google it, you will more informations.
@S_Oliver wrote: »
Windows symlinks. You can create more instances from your Editor. https://support.unity3d.com/hc/en-us/articles/115003118426-Running-multiple-instances-of-Unity-referencing-the-same-project
https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/
Just google it, you will more informations.
Hey, thanks for the answer. I have been using this method as well.
Back to top