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: com.unity.netcode.gameobjects/Tests/Runtime/Serialization/NetworkBehaviourReferenceTests.cs
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,9 @@ public IEnumerator TestRpcImplicitNetworkBehaviour()
57
57
58
58
#region Tests using non-null NetworkBehaviours and NetworkVariable
59
59
[UnityTest]
60
+
#if ENABLE_CORECLR
61
+
[Explicit("NGO NetworkVariable serialization codegen not generated for some types on CoreCLR (falls back to FallbackSerializer), see https://jira.unity3d.com/browse/UUM-149592")]
62
+
#endif
60
63
publicIEnumeratorTestNetworkVariable()
61
64
{
62
65
yieldreturnSpawnTestPrefabInstance();
@@ -75,6 +78,9 @@ public IEnumerator TestNetworkVariable()
75
78
76
79
#region Validating using NULL as a NetworkBehaviourReference
77
80
[UnityTest]
81
+
#if ENABLE_CORECLR
82
+
[Explicit("NGO NetworkVariable serialization codegen not generated for some types on CoreCLR (falls back to FallbackSerializer), see https://jira.unity3d.com/browse/UUM-149592")]
[Explicit("NGO NetworkVariable serialization codegen not generated for some types on CoreCLR (falls back to FallbackSerializer), see https://jira.unity3d.com/browse/UUM-149592")]
37
+
#endif
35
38
publicIEnumeratorTestSerializeNetworkObject()
36
39
{
37
40
yieldreturnSpawnTestPrefabInstance();
@@ -59,6 +62,9 @@ public IEnumerator TestSerializeNetworkObject()
59
62
}
60
63
61
64
[UnityTest]
65
+
#if ENABLE_CORECLR
66
+
[Explicit("NGO NetworkVariable serialization codegen not generated for some types on CoreCLR (falls back to FallbackSerializer), see https://jira.unity3d.com/browse/UUM-149592")]
67
+
#endif
62
68
publicIEnumeratorTestSerializeNull()
63
69
{
64
70
yieldreturnSpawnTestPrefabInstance(true);
@@ -106,6 +112,9 @@ public IEnumerator TestSerializeNull()
106
112
}
107
113
108
114
[UnityTest]
115
+
#if ENABLE_CORECLR
116
+
[Explicit("NGO NetworkVariable serialization codegen not generated for some types on CoreCLR (falls back to FallbackSerializer), see https://jira.unity3d.com/browse/UUM-149592")]
0 commit comments