com.unity.netcode.gameobjects icon indicating copy to clipboard operation
com.unity.netcode.gameobjects copied to clipboard

Deferred Messages aren't tracked by the Network Profiler

Open JesseOlmer opened this issue 3 years ago • 2 comments

Description

When a message is deferred logic returns before NetworkMetrics.TrackRpcReceived is called and our tracking ends up providing inaccurate data.

Reproduce Steps

The method returns before the metrics tracking is invoked

Actual Outcome

Metrics don't record a received RPC

Expected Outcome

Metrics record an RPC received - preferably when it's actually received (not executed), but when it's actually executed would be acceptable.

Environment

  • OS: [macOS Monterey
  • Unity Version: Any
  • Netcode Version: 1.0.1
  • Netcode Commit: Develop Head

JesseOlmer avatar Aug 25 '22 16:08 JesseOlmer

@becksebenius-unity This belongs to the Tools team

ashwinimurt avatar Aug 25 '22 17:08 ashwinimurt

Backlog MTT-4497

ashwinimurt avatar Aug 25 '22 18:08 ashwinimurt