Search Unity

Question NetworkClient connection fails between Android client and remove server

Discussion in 'UNet' started by wokamoka, Aug 23, 2021.

  1. wokamoka

    wokamoka

    Joined:
    Jul 3, 2012
    Posts:
    10
    Hi,

    I'm working with a team that is developping a multiplayer game, still using Unet.

    Connection (using NetworkClient) from GameClient instances to GameServer instance (hosted on a remote server) works fine with PC build.
    The connection from Android built GameClient was fine with Unity 2019.* versions, but it has been failing since we moved to Unity 2020.* version.

    We tested simple udp connection and data transfer using netcat between android device and remote server, and all is fine. So the problem could come from Unet, maybe because we had to move to IL2CPP (in order to be able to publish Android build on PlayStore), but we are not sure.
    Maybe it is because of ARM platform?

    Did somebody experienced the same issue?
    Is there a solution?

    Thanks for your help
     
  2. mischa2k

    mischa2k

    Joined:
    Sep 4, 2015
    Posts:
    4,347
    UNET uses LLAPI, which is a black box transport written in C.
    There's no way to dig into the code to see what causes it, and Alexey Abramychev who wrote it doesn't work for Unity anymore :)