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 /
avatar image
0
Question by AshAbeAdd · Apr 09, 2017 at 05:36 AM · networkingconnection

Networking problems

I've worked on several Unity Network tutorials as well as a couple of TCP Network guides to try to make my games be able to connect on multiple pcs. I even done them as the only thing on a Unity program just to make sure nothing else is bring it down. I still can't seem to connect. I'm wondering if it's an ip port problem with AT&T, but I don't know. I really need help on this to get through it.

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
0

Answer by Delforce · Apr 10, 2017 at 12:39 PM

Hi AshAbeAdd as it's hard to know what your particular issue is without more information, in terms of code your using to utilise the network etc..

It sounds like you need to start with something a little more basic. There are some alternative methods you can use to network up your project for starters.

You could try the free account on PUN. I found that I could easily load across multiple computers using that.

Alternatively you could connect to a free account on AWS and use their facilities there are API you can use with Unity where people have already worked through the kinks to connect with networking.

Also on the unity store. If not to use you can test if they connect okay, if they do then you know the issue isn't with the network and is with your code.

Hope it helps you mate.

Comment
Add comment · Show 1 · 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 AshAbeAdd · Apr 13, 2017 at 06:32 AM 0
Share

As I said, I done several simple version of Networking. I need to know what obstacles outside of coding can prevent a network connection. I know with using BYOND, I had to port forward one of the game that I hosted. However there's confusing information when it comes to Unity and Port forwarding. I read that the way Unity is structured, there's no need for port forwarding. If you know more about this, perhaps we can go on Skype and talk about this in deeper length?

avatar image
0

Answer by AurimasBlazulionis · Apr 13, 2017 at 06:47 AM

The server has to have an open port. No matter what networking system you use.

Some systems may implement ways to not require manual port forwarding. For example, UNet. You can use matchmaking feature, where all network flows through the servers hosted by Unity. This comes at a cost. Latency may suffer and if there are many people playing the game, you will have to pay for them playing it. As of now, there is no way to host your own matchmaking servers.

Other networking systems may use different ways, but they are all pretty much the same.

You can build your own relay system, where basically all the clients would connect to some server hosted somewhere like in AWS and it would forward the connection. But it is a hard thing to do.

There is also NAT Punchthrough which tries to do the same thing, as well as automatic port forwarding through UPnP, but the host's router has to support it.

More information here.

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

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

NetworkMatch.DropConnection not executing callback 0 Answers

Networking with a modem, without connecting to a server... Is it possible, are there any examples? 1 Answer

The magic key to networking? 0 Answers

Internal error while attempting to connect to master server 0 Answers

uNet: Waiting for two players to connect? 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