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. Dismiss Notice

[Unet] RemoveClientAuthority cause unity Editor (Not responce) lag.

Discussion in 'UNet' started by Deleted User, Jul 27, 2016.

  1. Deleted User

    Deleted User

    Guest

    Hello every one, I have problem here, if Unity Editor is server, and for example client enter vehicle, then leave, in line : bike.GetComponent<NetowrkIdentity>().RemoveClientAuthority(connectionToClient); - this one will make Editor broken, but if player disconnect at this moment it will be ok.
    In this case, if Server is Standalone, there is no lags here.
    Tested on 5.3.4, 5.4.0 F2 beta, 5.3.5, 5.3.6.
     
    Last edited by a moderator: Jul 27, 2016
  2. Deleted User

    Deleted User

    Guest

    Up please, i found a error in Editor.log:
    Command for object without authority [netId=23]

    23 - id of vehicle.
     
  3. Deleted User

    Deleted User

    Guest

    bumb, fix error with command, but how to property assign and remove Authority?
     
  4. Deleted User

    Deleted User

    Guest