1. We've introduced thread tags, search within a thread and similar thread search. Read more here.
    Dismiss Notice
  2. Learn how you'll soon be able to publish your games to China in four simple steps with Xiaomi. Sign up now for early access.
    Dismiss Notice
  3. Get further faster with the Unity Plus Accelerator Pack, free for new Unity Plus subscribers for a limited time. Click here for more details.
    Dismiss Notice
  4. We've released our first Timeline Experimental Preview, our new tool for creating cutscenes and more! To check it out click here.
    Dismiss Notice
  5. Unity 5.5 is now released.
    Dismiss Notice
  6. Check out all the fixes for 5.5 in patch releases 1 & 2.
    Dismiss Notice
  7. Unity 5.6 beta is now available for download.
    Dismiss Notice

Unity Multiplayer Networking presentation and sample project

Discussion in 'Multiplayer Networking' started by seanr, Jun 9, 2015.

  1. seanr

    seanr

    Unity Technologies

    Joined:
    Sep 22, 2014
    Posts:
    669
    This is a link to the Unite 2014 presentation on the new multiplayer networking system. This is a little old, but still a good overview and walk-through of using UNet.



    The sample project from the presentation is attached.
     

    Attached Files:

  2. dariuszpietrala

    dariuszpietrala

    Joined:
    Oct 5, 2012
    Posts:
    135
    I can't get it to work on Android. I downloaded the project and changed the ID to my Cloud Project ID. It works on the PC with the Editor installed. When I build a standalone and try it somewhere else (other PC) it doesn't work. When I build for Android and try to run it it doesn't work. This is what I get on Android:

    Am I doing something wrong?
     
  3. gilead

    gilead

    Joined:
    Oct 14, 2014
    Posts:
    6
  4. RMDKmatt

    RMDKmatt

    Joined:
    Jan 31, 2014
    Posts:
    5
    I am also having the same problem dariuszpietrala . Tried all the projects posted on the forums. Also went through the UNET tutorials on youtube. If only it was as simple as creating a project in the Unity cloud then pasting the Cloud project Id into one of the sample projects!

    Hopefully this gets fixed in the next patch .

    Has anyone got the new Unity 5.1 Multiplayer features connecting multiple computers over the Internet?
     
    lliviu likes this.
  5. lliviu

    lliviu

    Joined:
    Aug 3, 2013
    Posts:
    7
    Same problem here. Can not create a room, or connect to a room from another PC or android.
    Same error with FAILURE Returned from server: Failed CreateMatch for appId=Invalid .

    Also, I had to check "Local player authority", so that the client would be able to move (when testing on the same computer)
     
  6. ChrisSch

    ChrisSch

    Joined:
    Feb 15, 2013
    Posts:
    763
    Could you show us how to sync the thrusters? The problem has been plaguing me for two days now.
     
  7. FreeGameDev

    FreeGameDev

    Joined:
    Dec 1, 2015
    Posts:
    11
    At 1:00:36 in the video it talks about physics being synced and working out of the box. How is this done? I have a ridgidbody2d ball in the scene that can be pushed fine with the host. But the client hits it and it barely moves. Can you explain how to get the physics working and syncing for all client and server?
    Thanks