Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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
8
Question by AndreasX12 · Oct 19, 2013 at 08:35 AM · networkingmultiplayerserverhostbuiltin

Unity networking tutorial?

Hi, I'm trying to make a mobile multiplayer game in Unity Basic with Unity's built-in networking. Are there any sample projects to download or any good tutorials? The problem is, that I would like the users to both host the server and play on the server on the same device. And I haven't found any tutorials about that. And also the cheaper the better :-)

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

6 Replies

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

Answer by Griffo · Oct 19, 2013 at 11:48 AM

Here

Here

and

Here

Here

Here

and

Here

and

Here

And everywhere else .. ;) Good luck.

Comment
Add comment · Show 4 · 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 Poelie · Jan 05, 2014 at 09:43 PM 1
Share

I really loves the last link of Paladin Studios :)

avatar image Draze · Jan 19, 2015 at 01:50 AM 1
Share

4th link is broken (404).

avatar image eelstork · Mar 29, 2015 at 12:39 PM 3
Share

There are so many better ways to reference people's work...

avatar image JstuckiJstucki · Feb 10, 2021 at 09:48 PM 0
Share

lol. Thx.:)

avatar image
1

Answer by 03gramat · Jan 15, 2015 at 02:03 PM

Here's it explained in 15mins C# and JS code available too!

https://www.youtube.com/watch?v=QfzrpxO89tU

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 Poelie · Jan 05, 2014 at 09:49 PM

Also here : http://www.youtube.com/user/quill18creates?feature=watch

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 AlucardJay · Jan 05, 2014 at 11:31 PM 0
Share

Quill18 uses the Photon Unity Network, not the Unity built-in Networking (though both are very similar)

avatar image
0

Answer by BOSNA · Jun 21, 2015 at 06:02 PM

any help how to make timer works and shows on server:

public Text myText;

 public float mytime;
 float myTimer;

     [ClientRpc]
     public void RpcDoOnClient(float foo)
     {
         
     mytime = foo;
     myText.text = "" + mytime.ToString ();

     
     }
     
 


     [ServerCallback]
     void Update()
     {

     myTimer+=Time.deltaTime;


         



             // this will be invoked on all clients
     RpcDoOnClient(myTimer);
         
     }
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 joaoborks · Feb 17, 2017 at 08:28 AM

This is the best reference I found for an updated solution. This guy practicaly defines an unofficial very detailed workflow on how to work with multiplayer games. If you need anything else there is this list of samples people pulled up some time ago.

Good Luck!

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
  • 1
  • 2
  • ›

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

26 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

Related Questions

How can I transfer hosts once the current host leaves? 0 Answers

Player hosting the game with Unity Networking 1 Answer

MasterServer.RegisterHost Issue 0 Answers

Multiplayer Server Networking- Player Server Hosting 2 Answers

running servers for networked games 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