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
Just keeping the established pattern of using "nameof" within a string.
Also added the NetworkTransform's NetworkBehaviourId value as opposed to hard coding the value.
(minor tweaks)
AssertOnTimeout("Timed out waiting for object to spawn!");
111
115
112
-
LogAssert.Expect(LogType.Error,$"[Netcode] {nameof(NetworkBehaviour)} index {networkTransformInstance.NetworkBehaviourId} was out of bounds for NonAuthorityPrefab(Clone). "+
113
-
$"{nameof(NetworkBehaviour)}s must be the same, and in the same order, between server and client.");
varerrorMessage=$"[Netcode] {nameof(NetworkBehaviour)} index {networkTransformInstance.NetworkBehaviourId} was out of bounds for {m_NonAuthorityPrefab.name}(Clone). "+
117
+
$"{nameof(NetworkBehaviour)}s must be the same, and in the same order, between server and client.";
$"({networkTransformInstance.NetworkBehaviourId}), does not exist! Make sure you are not spawning {nameof(NetworkObject)}s with disabled {nameof(GameObject)}s that have "+
116
-
$"{nameof(NetworkBehaviour)} components on them.");
121
+
$"{nameof(NetworkBehaviour)} components on them.";
0 commit comments