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")]
39
+
#endif
37
40
publicIEnumeratorTestSerializeNetworkObject()
38
41
{
39
42
yieldreturnSpawnTestPrefabInstance();
@@ -61,6 +64,9 @@ public IEnumerator TestSerializeNetworkObject()
61
64
}
62
65
63
66
[UnityTest]
67
+
#if ENABLE_CORECLR
68
+
[Explicit("NGO NetworkVariable serialization codegen not generated for some types on CoreCLR (falls back to FallbackSerializer), see https://jira.unity3d.com/browse/UUM-149592")]
69
+
#endif
64
70
publicIEnumeratorTestSerializeNull()
65
71
{
66
72
yieldreturnSpawnTestPrefabInstance(true);
@@ -108,6 +114,9 @@ public IEnumerator TestSerializeNull()
108
114
}
109
115
110
116
[UnityTest]
117
+
#if ENABLE_CORECLR
118
+
[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