Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Third Party NetworkIdentity staying disabled on client. Mirror

Discussion in 'Multiplayer' started by The1Mitchell, Aug 2, 2023.

  1. The1Mitchell

    The1Mitchell

    Joined:
    Feb 1, 2020
    Posts:
    1
    I am adding multiplayer to my game, and I am getting this problem in a lobby I am making. So a host will start a lobby, then a friend is able to join off of Steam. The lobby is a character select menu and is a different scene from the main menu. Everything works fine on the host, but for the client, the whole character select UI is disabled because it has a NetworkIdentity on it. I don't know why the client is not spawning in the UI. I have tried adding SpawnObjects in OnClientConnect() and OnStartClient(). Any ideas on how to activate the UI for the client?