Skip to content

Commit de28f0d

Browse files
update - PVP
Adding XML API to avoid PVP error.
1 parent eeb6f73 commit de28f0d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

com.unity.netcode.gameobjects/Tests/Runtime/NetworkVariableTraitsTests.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ public void WhenNoThresholdIsSetButMinTimeHasNotPassed_VariableIsNotSerialized()
137137
Assert.AreEqual(0.15f, testComponent.TheVariable.Value);
138138
}
139139

140+
/// <summary>
141+
/// Integration test to validate that a <see cref="NetworkVariable{T}"/> with <see cref="NetworkVariableUpdateTraits"/>
142+
/// does not cause other <see cref="NetworkVariable{T}"/>s to miss an update when they are dirty but the one with
143+
/// traits is not ready to send an update.
144+
/// </summary>
140145
[Test]
141146
public void WhenNonTraitsIsDirtyButTraitsIsNotReadyToSend()
142147
{

0 commit comments

Comments
 (0)