Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Is there a nice way to marry up which connected user is which user from a lobby service lobby?

Discussion in 'Netcode for GameObjects' started by Tsunamisukoto, Oct 12, 2023.

  1. Tsunamisukoto


    Apr 21, 2023
    My current problem:
    I need a way to take information from the lobby player info and put it against the spawned user.
    Is there a nice way to marry these two up?
    At the moment I store locally what "my" skin is and on spawning I read that variable if "isOwner" and pass it around by server RPC, I'd prefer if I could make it more server authoratative as to what skin I was using?
    Watched a bunch of tutorials but they dont seem to marry up the lobby to the NetworkSceneManager change to the spawning WITH info from that lobby.
    Any help would be appreciated. Even if its just a youtube link