The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

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).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

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?

JohnTube
2020-02-20 10:58:56

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.

Sami
2020-02-26 09:25:17

@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?

S_Oliver
2020-02-28 23:22:02

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.

Sami
2020-03-04 09:57:26

@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