Search Unity

Unity Multiplayer UNET LLAPI : Assign or change connectionId manually?

Discussion in 'Connected Games' started by Kirsche, Nov 3, 2016.

  1. Kirsche

    Kirsche

    Joined:
    Apr 14, 2015
    Posts:
    36
    Hey,

    it seems that UNET always assigns the lowest unused (int) number as an id for a connection. I would like to synchronize the connection ids between server and clients. Imagine a "userticket" that increments with each new connection.

    Is there a way to manually assign or change this id?

    Kind regards
    Kirsche
     
  2. munkbusiness

    munkbusiness

    Joined:
    Aug 22, 2017
    Posts:
    46
    Bumping as i too wanna know this 2 years later. I assume it cannot be done, but would save me a ton of time if it was.