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.

Bug (Case 1383330) Unity Transport shows warnings when connecting from remote endpoint.

Discussion in 'Unity Transport' started by Kichang-Kim, Nov 24, 2021.

  1. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    979
    Hi. I found that "There are pending send packets after the baselib process send" warnings are shown when using Unity Transport in Windows Editor.

    It only occurred when connecting from remote endpoint and using Windows editor. If you test in local PC or Mac editor, it doesn't.

    Reproducible project was sent as Case 1383330.
     
  2. simon-lemay-unity

    simon-lemay-unity

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    385
    Thanks for the report!

    This is something we're looking into. Other users have also mentioned seeing the same behavior. The warning (which I concede is not very clear) is normally printed when we can't send our full send queue to the OS in one single update. Typically that means some packets may only be sent on the next update (usually the next frame). Now there's something fishy going on when sending to remote endpoints on Windows that causes this to happen very often, even for very little traffic. It's yet unknown if this is something we're doing wrong or some quirk of Windows.

    The takeaway is that if you don't observe any traffic loss (you can check with Wireshark that everything actually makes it to the wire), the warning can be safely ignored. But I understand it sucks to have the warning spammed all the time, which is why we are looking into this.