Unity-Technologies/com.unity.multiplayer.samples.coop

'NetworkManager' does not contain a definition for 'OnClientStarted'

zhuziying opened this issue · 2 comments

Library\PackageCache\com.unity.multiplayer.samples.coop@a4cafe2\Utilities\SceneManagement\SceneLoaderWrapper.cs(83,32): error CS1061: 'NetworkManager' does not contain a definition for 'OnClientStarted' and no accessible extension method 'OnClientStarted' accepting a first argument of type 'NetworkManager' could be found (are you missing a using directive or an assembly reference?)

image

Thank you for the feedback @zhuziying ! This is a dependencies issue in the Utilities package, it should have been updated to require Netcode for GameObjects v1.4.0 in our previous release but wasn't. The dependencies will be fixed in our next release, but in the meantime if you update your project to use NGO version 1.4.0 or up it should fix your issue. Alternatively, you can use an earlier version of the utilities package using the v2.0.4 tag

@LPLafontaineB thank u very much