Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
This question was closed Jul 30, 2013 at 01:34 AM by Drshk7 for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by Drshk7 · Jul 02, 2013 at 04:56 AM · networkingnetworkservermasterserver

Unity 3D Networking questions (About master servers)

Hello. When I use Unity 3D Networking and make lists to show servers that are up and not port forward and use Hamachi (master server), does that mean that I'm using the Unity 3D Server? Like does the Unity 3D team run it? What is it using when it means master server? I want to learn what the master server does when I use it on my scripts. How it shows up on my server list. Can you describe it in a easier way to understand? Thanks(future tense)

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

1 Reply

  • Sort: 
avatar image
1
Best Answer

Answer by Kiloblargh · Jul 02, 2013 at 05:03 AM

Yes. It is using the one at Unity HQ by default unless you give it the address of another private master server. You are only supposed to use the default one for testing, not for a finished game.

You can download the Master Server and Facilitator and build and run them on your own computer at home or on a paid VPS host. In theory, at least- I was never able to get my own master server working and instead wrote a set of PHP scripts to do the same thing with an SQL database.

Comment
Add comment · Show 5 · 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 Drshk7 · Jul 02, 2013 at 05:14 AM 0
Share

Thanks. You saved my ass. I was thinking to put it into a finished game... Thanks bro.

avatar image Drshk7 · Jul 02, 2013 at 05:16 AM 0
Share

Can't I make a server.exe? Like make it in Unity? So that if people want to make their own servers, they can just run it? Basically like $$anonymous$$inecraft servers.

avatar image Drshk7 · Jul 02, 2013 at 05:23 AM 0
Share

O, I think I know the answer! $$anonymous$$ake the game using direct connect. Then, when you create a server on a port, you open the port. Then, you can just join the IP, without using VPN, right? Can I edit the port on the script for direct connect so that when there's another game using the same port, when someone using the other game puts in someone using my game's server ip, that they don't join it? It's hard to understand I know.

avatar image Kiloblargh · Jul 02, 2013 at 07:14 AM 0
Share

I said VPS, not VPN. Rented rackspace. I think you're still pretty confused. Every Unity game has the option to be a server, or a client, just by the command Network.InitializeServer and Network.Connect. Both take an IP and a port. There's no problem with all instances of your game using the same port; they should in fact. So, you just need to know the IP of someone running the game as a server to join it as a client. It doesn't matter if you get that IP by telegram or carrier pigeon or remote viewing. The only thing you absolutely NEED the $$anonymous$$aster Server (actually the Facilitator) for is NAT punchthrough. However the the most common word to follow the phrase "NAT punchthrough" is "failed." So I don't $$anonymous$$d limiting my multiplayer to people who have a reachable public IP.

avatar image Drshk7 · Jul 05, 2013 at 04:40 AM 0
Share

I know, I was just bringing up an idea. I know VPS and VPN is different. I was just saying I could add a server and client type multiplayer like $$anonymous$$inecraft...

Follow this Question

Answers Answers and Comments

15 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

Related Questions

Unity networking tutorial? 6 Answers

Port not opening? 3 Answers

FPS drops to 30 when I use MasterServer.RegisterHost, WHY!? 1 Answer

Is there any way a "Failed to Connect to Master Server" error can happen other than the master server being down? 0 Answers

running 24 hours server in unity standard network 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