Search Unity

  1. Engage, network and learn at Unite Austin 2017, Oct 3 - 5. Get your ticket today!
    Dismiss Notice
  2. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  3. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  4. Unity 2017.1 is now released.
    Dismiss Notice
  5. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice
  6. Unity 2017.2 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:
    136
    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:
    9
  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:
    33
    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