Skip to content

Commit 80d7353

Browse files
Include instance ID in soft sync failure message (#616)
* Include instance ID in soft sync failure message * Use explicit string format Co-authored-by: Luke Stampfli <[email protected]> Co-authored-by: Luke Stampfli <[email protected]>
1 parent 328dd16 commit 80d7353

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

MLAPI/Spawning/SpawnManager.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,7 @@ internal static NetworkedObject CreateLocalNetworkedObject(bool softCreate, ulon
304304
// SoftSync them by mapping
305305
if (!pendingSoftSyncObjects.ContainsKey(instanceId))
306306
{
307-
// TODO: Fix this message
308-
if (NetworkLog.CurrentLogLevel <= LogLevel.Error) NetworkLog.LogError("Cannot find pending soft sync object. Is the projects the same?");
307+
if (NetworkLog.CurrentLogLevel <= LogLevel.Error) NetworkLog.LogError($"Cannot find pending SoftSync object [InstanceID={ instanceId }]. Are the projects the same?");
309308
return null;
310309
}
311310

0 commit comments

Comments
 (0)