Problem w/ bootcamp multiplayer

Hello community! I’m making a game based on photon bootcamp demo, but when i even test something in unity(click play), some1 join in my game and make some dirty work(kills me, make noise, etc) How to prevent unexpected joins? Thanks for attention.

If you are using the Photon framework for multiplayer then look for this line of code somewhere in your scripts:

PhotonNetwork.ConnectUsingSettings(“v1.0“);

What is inside the quotation marks is irrelevant the important part is that you change it to something different, like:

PhotonNetwork.ConnectUsingSettings(“Test-31-05-2013“);

This should separate you from everyone else preventing others from joining you and you from joining them.