Skip to content

Commit db0da67

Browse files
committed
Disabled tests
1 parent 6d7813a commit db0da67

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

com.unity.netcode.gameobjects/Tests/Runtime/NetworkTransform/NetworkTransformOwnershipTests.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ private bool ClientIsOwner()
117117
[UnityTest]
118118
public IEnumerator LateJoinedNonOwnerClientCannotChangeTransform()
119119
{
120+
if (m_MotionModel == MotionModels.UseRigidbody)
121+
{
122+
Assert.Ignore("Rigidbody motion does not sync when Netcode for Entities is a hard dependency of NGO. See UUM-152669.");
123+
}
120124
var authority = GetAuthorityNetworkManager();
121125

122126
// Spawn the m_ClientNetworkTransformPrefab with the host starting as the owner
@@ -212,6 +216,10 @@ protected override float GetDeltaVarianceThreshold()
212216
[UnityTest]
213217
public IEnumerator OwnerAuthoritativeTest([Values] StartingOwnership startingOwnership)
214218
{
219+
if (m_MotionModel == MotionModels.UseRigidbody)
220+
{
221+
Assert.Ignore("Rigidbody motion does not sync when Netcode for Entities is a hard dependency of NGO. See UUM-152669.");
222+
}
215223
var authority = GetAuthorityNetworkManager();
216224
var nonAuthority = GetNonAuthorityNetworkManager();
217225

@@ -425,6 +433,10 @@ void LogOwnerRigidBody(int stage)
425433
[UnityTest]
426434
public IEnumerator ServerAuthoritativeTest()
427435
{
436+
if (m_MotionModel == MotionModels.UseRigidbody)
437+
{
438+
Assert.Ignore("Rigidbody motion does not sync when Netcode for Entities is a hard dependency of NGO. See UUM-152669.");
439+
}
428440
var authority = GetAuthorityNetworkManager();
429441
var nonAuthority = GetNonAuthorityNetworkManager();
430442

com.unity.netcode.gameobjects/Tests/Runtime/Physics/RigidbodyContactEventManagerTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ private bool PlayersSpawnedInRightLocation()
121121

122122

123123
[UnityTest]
124+
[Ignore("Rigidbody contact events never fire (players never move) when Netcode for Entities is a hard dependency of NGO. See UUM-152669.")]
124125
public IEnumerator TestContactEvents()
125126
{
126127
ContactEventTransformHelper.VerboseDebug = m_EnableVerboseDebug;

0 commit comments

Comments
 (0)