Search Unity

Scene object not sync every time.

Discussion in 'Multiplayer' started by Driiades, Aug 29, 2016.

  1. Driiades

    Driiades

    Joined:
    Oct 27, 2015
    Posts:
    151
    Hello.


    I was trying to make this for my game :

    -Play the game locally with localhost adress;
    -Create a match and join it.
    -Play the game on the server.


    That work very well for my game (except that the player disapear on a server changement :'( )


    BUT

    I wanted to put some networked scene object. And : that doesn't work.


    If you put a networked scene object, and call : StartHost() / StopHost() / StartHost() on a NetworkManager : your object is sync (it spawn) the first time but no more on the other times ... (It will not be disable on a StopHost() and not be spawn on a StartHost() )

    Is it normal ? Is there a work around for this ? A solution ?
    Thx :) .