Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

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


    Oct 19, 2010
    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


    Unity Technologies

    Jul 19, 2021
    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.