My friend can't make room and join

Why only I can make room in multiplayer matchmaking, and only i can join?
Other people can’t do that.
My friends after press “Create Internet Match” or “Find Internet Match” don’t see any progress.

For me all is working great.
Do u know why? Please help me!

Refresh. Please Help!!

Refresh!

Unity Team! Can u answer me? This forum is dead. :frowning:

Which version of Editor was used to build it? Early versions of 5.1 have a bug may cause that. Please use latest version (5.1.2) to build it and try again.

im using 5.1.2

I agree the networking forum is lacking in answers and the documentation, while a really good foundation, still needs some additional information to allow people to be able to write working code.

But at least you can post your code, right? Show us how you create the match and show us how you find and join the match.

@KungFooMasta Thank you man for trying to help me!
So, im using NetworkManager script from Unity.

First im pressing Enable Match Maker
2251455--150443--2015-08-15_004545.jpg

Then im pressig Create Internet Match or Find Internet match.

2251455--150444--2015-08-15_004604.jpg

For me all is working great, but my friends when they are trying to create internet match or find internet match nothing happens. I noticed on android when i try to create internet match or find internet match nothing happens too.

Hmm. I think UNET online multiplayer is working only if u have Unity on your pc.

Btw, many people have this same problem.
I think, it’s Unity bug.

I had this same issue with my own network manager HUD, I solved it filling the right variables in the network manager.
Are you using the default network manager HUD?

Yes, im using the default network manager HUD.
Im installing Unity 5.2.0B6 now.
I will take look at it.
Thanks.

@8NeonBitGuy About which variables are u talking?

i’m with the same problem here, i’ve done everything in forums, but nothing seems to work :frowning: try to set your AppID, for much people that fixed the problem, for me not.

How to set AppID? What do you mean?

Btw, in Unity 5.2 there is no place for Cloud Project ID anymore
2252223--150515--2015-08-15_175715.jpg

2252223--150512--2015-08-15_175741.jpg

matchMaker.SetProgramAppID ((AppID)XXXX);

you can do this after call StartMatch, replace the XXXX with the integer in the unity site, under the cloud project ID, his name is UNET ID

@lucasbs1991 Thanks, but where should i paste it?
In which script?

@lucasbs1991 OK ITS WORKING!!
So first u need to make C# script called NetworkMan:

using UnityEngine;
using System.Collections;
using UnityEngine.Networking;
using UnityEngine.Networking.Match;

public class NetworkMan : NetworkManager
{
    private NetworkMatch networkMatch;
  
    void Update()
    {
        if(networkMatch == null)
        {
            var nm = GetComponent<NetworkMatch>();
            if (nm != null) {
                networkMatch = nm as NetworkMatch;
                UnityEngine.Networking.Types.AppID appid = (UnityEngine.Networking.Types.AppID)286152;
                networkMatch.SetProgramAppID(appid);
            }
        }
    }
}

Then add it to NetworkManager empty object and delete old NetworkManager script.
It should looks like this:

1 Like

Thank man this really help me out

I needed a javascript version so I made. Here it is for anyone else that needs it

#pragma strict
import UnityEngine.Networking;
import UnityEngine.Networking.Match;

public class NetworkManager1 extends NetworkManager{

private var networkMatch:NetworkMatch;

function Update(){
if(networkMatch == null){
var nm = GetComponent(NetworkMatch);
if(nm != null){
networkMatch = nm as NetworkMatch;
var appid:UnityEngine.Networking.Types.AppID;
appid= 94451;
networkMatch.SetProgramAppID(appid);
}
}
}
}