File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
com.unity.netcode.gameobjects/Tests/Runtime Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ public static void ClientNetworkVariableTestSpawned(NetworkVariableTest networkV
85
85
86
86
private const float k_TimeOutWaitPeriod = 2.0f ;
87
87
private static float s_TimeOutPeriod ;
88
+
88
89
/// <summary>
89
90
/// This will simply advance the timeout period
90
91
/// Note: When ClientSideNotifyObjectSpawned is invoked this will get
@@ -125,6 +126,10 @@ public override IEnumerator Setup()
125
126
yield return base . Setup ( ) ;
126
127
}
127
128
129
+ /// <summary>
130
+ /// This is an adjustment to how the server and clients are started in order
131
+ /// to avoid timing issues when running in a stand alone test runner build.
132
+ /// </summary>
128
133
private IEnumerator InitializeServerAndClients ( bool useHost )
129
134
{
130
135
s_ClientNetworkVariableTestInstances . Clear ( ) ;
You can’t perform that action at this time.
0 commit comments