Skip to content

Unity Transport Update Blocking Thread #3608

@aondw

Description

@aondw

Description

Hi, I was looking through the profiler and noticed UnityTransport always showing up with like 0.3ms.
In the code I saw that in UnityTransport.Update() the m_Driver.ScheduleUpdate() is immediately completed, blocking the main thread.

Because don't know about all the timing implications and reasons behind it, I wanted to ask here: can we e.g. move the .Complete() to LateUpdate or use Jobs (but that's probably a bit more involved).

Unity 2022.3.51, Netcode 1.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    stat:awaiting-responseAwaiting response from author. This label should be added manually.stat:awaiting-triageStatus - Awaiting triage from the Netcode team.type:bugBug Report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions