Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
1
Question by MrMeows · Oct 20, 2015 at 05:16 AM · networkingmatchmaking

What does Create Internet Match do?

This question is as simple as it looks. With the NetworkManagerHUD, what exactly happens when I press "Create Internet Match?" I can see that the Online Scene is loaded and a Player is created. How would I replicate this in code? I ask because the default matchmaking script (provided at http://docs.unity3d.com/Manual/UNetMatchMaker.html) does not do this.

EDIT: I have already hosted a match using Unity's matchmaking service and successfully joined the match.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by MrMeows · Oct 22, 2015 at 01:47 AM

As it turns out, the script for NetworkManagerHUD is available online: http://forum.unity3d.com/threads/networkmanagerhud-code-network-control-and-matchmaking-example.326604 After looking through it for a bit, I found the issue. NetworkManager has its own OnMatchCreate and OnMatchJoined. Replace the references to the default script's equivalents with "GetComponent().OnMatchCreate"/"Joined" and it works perfectly.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Miti · Oct 20, 2015 at 07:00 AM

actually this is my problem too . As i know by using script that provided in doc you can only make matches just with unity multiplayer service if you have an appid by registring your game in that service .i am looking for a simple custom matchmaking system that works without unity multiplayer service and can be done by using HLAPI . simply i need my custom matchmaking server not unity multiplayer service .

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image MrMeows · Oct 20, 2015 at 11:03 PM 0
Share

You misunderstand my question. I have already hosted a match using Unity's matchmaking service and successfully joined the match. However, the Online Scene is never loaded and the host has no Player. As for your problem, I understand that you want to run a server and have computers connect to it over the internet, but you do not want to use Unity's matchmaking service. I tried that. I managed to get local area network games working, but I believe wide area network games are not possible without spending money. You have three options. One: Settle for LAN games and get a static IP address for your server. Two: Use Unity's matchmaking service. Three: Spend money.

avatar image Miti MrMeows · Oct 21, 2015 at 07:40 AM 0
Share

that's exactly what i need . you are right and i am going to spend mony but on my custom server not on unity multiplayer service . i bought a windows server (VPS) with good hardwares and i am going to use that for my game as a matchmaking sysytem . but i dont know how it can be done with unet .

avatar image thegreatzebadiah Miti · Apr 27, 2016 at 11:10 PM 0
Share

$$anonymous$$aybe you would be interested in my solution on the asset store. It allows you to connect to host's directly 85-95% of the time without having to use Unity's expensive relay servers: https://www.assetstore.unity3d.com/en/#!/content/58948

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

39 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Object reference not set without object? Calling ListMatches and getting this error 2 Answers

Custom Matchmaker dont work 0 Answers

unet and automatic matchmaking. 0 Answers

Is this possible in unity 0 Answers

MatchInfoSnapshot currentSize returns 1 instead of 0 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges