Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

[CLOSED] Can't get player to update location from client to host

Discussion in 'Multiplayer' started by Palimon, Jun 30, 2015.

  1. Palimon

    Palimon

    Joined:
    Apr 18, 2013
    Posts:
    225
    Hey all, jumping into multiplayer for the first time! I've been running through two resources in parallel:
    1) http://docs.unity3d.com/Manual/UNetConverting.html
    2) https://www.youtube.com/watch?t=49&v=NLnzlwCRjgc

    I'm at 10:40 in the youtube tutorial where we've added the NetworkManager object with NetworkManager and NetworkManagerHUD components, added the player prefab, and the NetworkIdentity and NetworkTransform components to the player prefab. According to the vid, at this point I'm able to launch two copies of the game and see them interact, but my editor copy (host) works fine while my .exe copy (client) doesn't affect the game scene in Unity (or the host game). I've ran through the vid a number of times and I've copied them verbatum regarding the network pieces, although I am using my own game rather than a fresh one. Ideas on what I'm missing? I'll attach some images from my project:

    player prefab.PNG NetworkManager.PNG Assets.PNG Hierarchy.PNG
     
  2. Palimon

    Palimon

    Joined:
    Apr 18, 2013
    Posts:
    225
    ...and it just started working for no apparent reason. O.O I'll just mark this as closed for now, lol.