Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Can't send but no OnServerDisconnect

Discussion in 'Multiplayer' started by marcV2g, Jul 25, 2017.

  1. marcV2g

    marcV2g

    Joined:
    Jan 11, 2016
    Posts:
    115
    When I send to a client I get
    >Attempt to send to not connected connection {1}
    But on the server
    >OnServerDisconnect
    is never called
     
  2. TwoTen

    TwoTen

    Joined:
    May 25, 2016
    Posts:
    1,168
    Are you using LLAPI? Cause the OnServerDisconnect is a part of the HLAPI
     
  3. marcV2g

    marcV2g

    Joined:
    Jan 11, 2016
    Posts:
    115
    I am using HLAPI and listening on a class extended from NetworkManager.