Unet local matchmaking.

hi . i am new to networking . i am going to use a script from unity doc in this link to do local match making system : http://docs.unity3d.com/Manual/UNetInternetServicesOverview.html But i can not undrstand How can i change the default server adress to work on local . i have tried to add this line in Awake() function but it’s not working.

networkMatch.baseUri =newSystem.Uri("HTTPS://127.0.0.1:7777",true);

and i dont want to use AppId in unity Multiplayer service as default address in this code requires that .

Not sure if you can have Https locahost. Also change the address to localhost.

it makes no diffrence . i just want to know how can i change the default adress to work on local without using unity multiplayer service?

I’m curious as well. I think you have to have a running server listening to whatever unity is sending to do match making, I may be terribly wrong.

i think there is no way to do matchmaking system in HLAPI without unity multiplayer service and i have to dig into LLAPI
to find it out.:frowning:

I’m pretty sure you need to dig into LLAPI as well.

NetworkDiscovery doesn’t use the Unity online matchmaking service, so you should use that to make local network connections.

1 Like

thanx but is that what i should learn for both local and internet custom matchmaking system ? simply i need my custom matchmaking server not unity multiplayer service .

No, NetworkDiscovery is local network only. I know nothing about making your own custom matchmaking system - I would stay away from it considering the difficulty of NAT punchthrough and relayservers and much more I don’t understand about the internet :wink: It’s probably worth it to start off with Unity’s Matchmaking system until you absolutely have to build your own.