File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
com.unity.netcode.gameobjects/Runtime Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -503,8 +503,10 @@ private void Initialize(bool server)
503
503
#if DEVELOPMENT_BUILD || UNITY_EDITOR
504
504
m_MessagingSystem . Hook ( new ProfilingHooks ( ) ) ;
505
505
#endif
506
- m_MessagingSystem . Hook ( new MetricHooks ( this ) ) ;
507
506
507
+ #if MULTIPLAYER_TOOLS
508
+ m_MessagingSystem . Hook ( new MetricHooks ( this ) ) ;
509
+ #endif
508
510
LocalClientId = ulong . MaxValue ;
509
511
510
512
PendingClients . Clear ( ) ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ namespace Unity.Netcode
6
6
public class NetworkTickSystem
7
7
{
8
8
#if DEVELOPMENT_BUILD || UNITY_EDITOR
9
- private static ProfilerMarker s_Tick = new ProfilerMarker ( $ "{ nameof ( NetworkTimeSystem ) } .Tick") ;
9
+ private static ProfilerMarker s_Tick = new ProfilerMarker ( $ "{ nameof ( NetworkTickSystem ) } .Tick") ;
10
10
#endif
11
11
12
12
/// <summary>
You can’t perform that action at this time.
0 commit comments