File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
com.unity.netcode.gameobjects Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,9 @@ internal class SessionConfig
1010 public const uint ServerDistributionCompatible = 2 ;
1111 public const uint SessionStateToken = 3 ;
1212 public const uint NetworkBehaviourSerializationSafety = 4 ;
13- public const uint FixConnectionFlow = 5 ;
1413
1514 // The most current session version (!!!!set this when you increment!!!!!)
16- public static uint PackageSessionVersion => FixConnectionFlow ;
15+ public static uint PackageSessionVersion => NetworkBehaviourSerializationSafety ;
1716
1817 internal uint SessionVersion ;
1918
Original file line number Diff line number Diff line change @@ -206,12 +206,6 @@ protected NetworkManager GetAuthorityNetworkManager()
206206 /// <returns>A <see cref="NetworkManager"/> instance that will not be the session owner</returns>
207207 protected NetworkManager GetNonAuthorityNetworkManager ( )
208208 {
209- // If we haven't even started any NetworkManager, then return the assumed first non-authority NetworkManager
210- if ( ! NetcodeIntegrationTestHelpers . IsStarted )
211- {
212- return m_UseCmbService ? m_ClientNetworkManagers [ 1 ] : m_ClientNetworkManagers [ 0 ] ;
213- }
214-
215209 return m_ClientNetworkManagers . First ( client => ! client . LocalClient . IsSessionOwner ) ;
216210 }
217211
You can’t perform that action at this time.
0 commit comments