Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    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

    Tsunamisukoto

    Joined:
    Apr 21, 2023
    Posts:
    5
    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