-
Notifications
You must be signed in to change notification settings - Fork 459
Unity Transport Update Blocking Thread #3608
Copy link
Copy link
Closed
Labels
type:supportQuestions or other supportQuestions or other support
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type:supportQuestions or other supportQuestions or other support
Type
Fields
Give feedbackNo fields configured for issues without a type.