From 1f3c2d26db88f8425414c9d20f6c5eff9907c0db Mon Sep 17 00:00:00 2001 From: MrGadget1024 Date: Sun, 1 Nov 2020 01:03:06 -0500 Subject: [PATCH] Added .ToString("X") to sceneId logging --- Assets/Mirror/Runtime/NetworkIdentity.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Mirror/Runtime/NetworkIdentity.cs b/Assets/Mirror/Runtime/NetworkIdentity.cs index cb72fbb06..464adc862 100644 --- a/Assets/Mirror/Runtime/NetworkIdentity.cs +++ b/Assets/Mirror/Runtime/NetworkIdentity.cs @@ -695,7 +695,7 @@ internal void OnStartServer() netId = GetNextNetworkId(); observers = new Dictionary(); - if (logger.LogEnabled()) logger.Log("OnStartServer " + this + " NetId:" + netId + " SceneId:" + sceneId); + if (logger.LogEnabled()) logger.Log("OnStartServer " + this + " NetId:" + netId + " SceneId:" + sceneId.ToString("X")); // add to spawned (note: the original EnableIsServer isn't needed // because we already set m_isServer=true above)