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
Where applicable, rename "print" and other logging functions to "log".
Intentionally not adjusting:
- SteamManager.SteamAPIDebugTextHook
- FileInfoExtensions.LogInequalityReason
- EOSManager.SimplePrintStringCallback
#EOS-2086
printError($"EOSP2PTransport.Send: Unable to send payload - The payload size ({payload.Count} bytes) exceeds the maxmimum packet size supported by EOS P2P ({EOSTransportManager.MaxPacketSize} bytes).");
161
+
logError($"EOSP2PTransport.Send: Unable to send payload - The payload size ({payload.Count} bytes) exceeds the maxmimum packet size supported by EOS P2P ({EOSTransportManager.MaxPacketSize} bytes).");
162
162
return;
163
163
}
164
164
}
@@ -196,7 +196,7 @@ public override NetworkEvent PollEvent(out ulong clientId, out ArraySegment<byte
print($"EOSP2PTransport.StartClient: Successful Client start up - REQUESTED outgoing '{P2PSocketName}' socket connection with Server UserId Server UserId='{ServerUserId}'.");
256
+
log($"EOSP2PTransport.StartClient: Successful Client start up - REQUESTED outgoing '{P2PSocketName}' socket connection with Server UserId Server UserId='{ServerUserId}'.");
257
257
result=true;
258
258
}
259
259
else
260
260
{
261
-
printError($"EOSP2PTransport.StartClient: Failed Client start up - Unable to initiate a connect request with Server UserId='{ServerUserId}'.");
261
+
logError($"EOSP2PTransport.StartClient: Failed Client start up - Unable to initiate a connect request with Server UserId='{ServerUserId}'.");
262
262
}
263
263
}
264
264
else
265
265
{
266
-
printError("EOSP2PTransport.StartClient: Failed Client start up - 'ServerUserIdToConnectTo' is null or invalid."
266
+
logError("EOSP2PTransport.StartClient: Failed Client start up - 'ServerUserIdToConnectTo' is null or invalid."
267
267
+" Please set a valid EOS ProductUserId of the Server host this Client should try connecting to in the 'ServerUserIdToConnectTo' property before calling StartClient"
// EOSManager should already be initialized and exist by this point
391
391
if(EOSManager.Instance==null)
392
392
{
393
-
printError("EOSP2PTransport.Initialize: Unable to initialize - EOSManager singleton is null (has the EOSManager component been added to an object in your initial scene?)");
393
+
logError("EOSP2PTransport.Initialize: Unable to initialize - EOSManager singleton is null (has the EOSManager component been added to an object in your initial scene?)");
394
394
return;
395
395
}
396
396
@@ -419,7 +419,7 @@ public override void Initialize(NetworkManager networkManager)
0 commit comments