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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug UnityTransport.SendBatchedMessages function error issue.

Discussion in 'Unity Transport' started by ulralra_unity, Feb 3, 2022.

  1. ulralra_unity

    ulralra_unity

    Joined:
    Apr 9, 2021
    Posts:
    9
    UnityTransport calls m_Driver.BeginSend within the SendBatchedMessages function,
    and for some reason, the result is NetworkVersionMismatch / NetworkStateMismatch.
    In this case, since the packet is returned without being processed in the queue, it will continue to spit out the same error next time and will not be able to process subsequent packets.
     
  2. ulralra_unity

    ulralra_unity

    Joined:
    Apr 9, 2021
    Posts:
    9
    Therefore, if it is not a Overflow error, there should be a process of popping and removing packets from the queue. Please correct it.
     
  3. simon-lemay-unity

    simon-lemay-unity

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    383
    Good catch! Will fix this. Thanks for the report.