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
Copy file name to clipboardExpand all lines: MLAPI/MonoBehaviours/Core/NetworkedObject.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ private void OnValidate()
17
17
{
18
18
if(string.IsNullOrEmpty(NetworkedPrefabName))
19
19
{
20
-
Debug.LogWarning("MLAPI: The NetworkedObject "+gameObject.name+" does not have a NetworkedPrefabName. It has been set to the gameObject name");
20
+
LogHelper.LogWarning("MLAPI: The NetworkedObject "+gameObject.name+" does not have a NetworkedPrefabName. It has been set to the gameObject name",LogLevel.Normal);
Debug.LogWarning("MLAPI: Please be aware that Scene objects are NOT supported if SceneManagement is turned on, even if HandleObjectSpawning is turned on");
174
+
LogHelper.LogWarning("MLAPI: Please be aware that Scene objects are NOT supported if SceneManagement is turned on, even if HandleObjectSpawning is turned on",LogLevel.Normal);
Debug.LogWarning("MLAPI: The NetworkedPrefab "+NetworkConfig.NetworkedPrefabs[i].prefab.name+" does not have a NetworkedPrefabName.");
183
+
LogHelper.LogWarning("MLAPI: The NetworkedPrefab "+NetworkConfig.NetworkedPrefabs[i].prefab.name+" does not have a NetworkedPrefabName.",LogLevel.Normal);
Debug.LogWarning("MLAPI: Client "+clientId+" tried to send a passthrough message for a messageType not registered as passthrough");
814
+
LogHelper.LogWarning("MLAPI: Client "+clientId+" tried to send a passthrough message for a messageType not registered as passthrough",LogLevel.Normal);
Debug.LogWarning("MLAPI: The field "+sortedFields[i].Name+" will not be serialized as it's not of a supported type. Add the BinaryIgnore attribute to prevent this message from shwoing up.");
50
+
LogHelper.LogWarning("MLAPI: The field "+sortedFields[i].Name+" will not be serialized as it's not of a supported type. Add the BinaryIgnore attribute to prevent this message from shwoing up.",LogLevel.Normal);
Debug.LogWarning("MLAPI: The field "+sortedFields[i].Name+" will not be deserialized as it's not of a supported type. Add the BinaryIgnore attribute to prevent this message from shwoing up.");
86
+
LogHelper.LogWarning("MLAPI: The field "+sortedFields[i].Name+" will not be deserialized as it's not of a supported type. Add the BinaryIgnore attribute to prevent this message from shwoing up.",LogLevel.Normal);
Debug.LogWarning("MLAPI: The field "+sortedFields[i].Name+" will not be deserialized as it's not of a supported type. Add the BinaryIgnore attribute to prevent this message from shwoing up.");
120
+
LogHelper.LogWarning("MLAPI: The field "+sortedFields[i].Name+" will not be deserialized as it's not of a supported type. Add the BinaryIgnore attribute to prevent this message from shwoing up.",LogLevel.Normal);
0 commit comments