File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,6 @@ public IEnumerator NetworkedMessagesAreStillReceivedAfterNetworkManagerShutsDown
149
149
150
150
m_NbMessagesReceived = 0 ;
151
151
152
- m_PlayerPrefab . SetActive ( false ) ; // to prevent NM from destroying the prefab on shutdown. This flow isn't great and is hackish, should be reworked
153
152
// Shutdown the server and clients
154
153
m_ServerNetworkManager . Shutdown ( ) ;
155
154
m_ClientNetworkManagers [ 0 ] . Shutdown ( ) ;
@@ -159,8 +158,6 @@ public IEnumerator NetworkedMessagesAreStillReceivedAfterNetworkManagerShutsDown
159
158
yield return new WaitWhile ( ( ) => m_ClientNetworkManagers [ 0 ] . ShutdownInProgress ) ;
160
159
yield return new WaitWhile ( ( ) => m_ClientNetworkManagers [ 1 ] . ShutdownInProgress ) ;
161
160
162
- m_PlayerPrefab . SetActive ( true ) ; // reactivating after destroy prevention
163
-
164
161
// Restart the server and clients
165
162
m_ServerNetworkManager . StartHost ( ) ;
166
163
NetcodeIntegrationTestHelpers . StartOneClient ( m_ClientNetworkManagers [ 0 ] ) ;
You can’t perform that action at this time.
0 commit comments