Search Unity

public override void OnServerAddPlayer(NetworkConnection conn, short id) not existing

Discussion in 'Multiplayer' started by Tobero-me, Jun 12, 2021.

  1. Tobero-me

    Tobero-me

    Joined:
    May 4, 2020
    Posts:
    5
    I'm using Unity 2021..1.10f1 and mirror. I wanted to make custom player spawning like in the unity multiplayer docs (https://docs.unity3d.com/Manual/UNetPlayersCustom.html), but this Methode doesn't exist with the short id.
    Code (CSharp):
    1. public override void OnServerAddPlayer(NetworkConnection conn, short id) {}
    Can someone help me out?
     
  2. navy3001

    navy3001

    Joined:
    Jun 1, 2017
    Posts:
    23
    I would also like to know the fix for this
     
  3. MaZy

    MaZy

    Joined:
    Jun 29, 2012
    Posts:
    105