You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Metrics: Exception when tracking Named Messages [MTT-5380] (#2426)
* MTT-5830 Fix
NetworkMetrics were tracking named message received events but it is possible for message handlers to unregister themselves.
We now cache the name of the message handler before invoking it so the Network Metrics can access the name even if its removed.
---------
Co-authored-by: Noel Stephens <[email protected]>
Copy file name to clipboardExpand all lines: com.unity.netcode.gameobjects/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ Additional documentation and release notes are available at [Multiplayer Documen
30
30
31
31
### Fixed
32
32
33
+
- Fixed an issue where Named Message Handlers could remove themselves causing an exception when the metrics tried to access the name of the message.(#2426)
33
34
- Fixed registry of public `NetworkVariable`s in derived `NetworkBehaviour`s (#2423)
34
35
- Fixed issue where runtime association of `Animator` properties to `AnimationCurve`s would cause `NetworkAnimator` to attempt to update those changes. (#2416)
35
36
- Fixed issue where `NetworkAnimator` would not check if its associated `Animator` was valid during serialization and would spam exceptions in the editor console. (#2416)
0 commit comments