Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Errors after import package

Discussion in 'Multiplayer' started by alexytgamepl, Jul 5, 2023.

  1. alexytgamepl

    alexytgamepl

    Joined:
    Feb 19, 2023
    Posts:
    1
    Hi! I received these errors after importing the package.
    Error:
    Library\PackageCache\com.unity.multiplayer.samples.coop@a4cafe2062\Utilities\SceneManagement\SceneLoaderWrapper.cs(84,32): error CS1061: 'NetworkManager' does not contain a definition for 'OnServerStopped' and no accessible extension method 'OnServerStopped' accepting a first argument of type 'NetworkManager' could be found (are you missing a using directive or an assembly reference?)
    Package what I import:
    https://github.com/Unity-Technologi...kages/com.unity.multiplayer.samples.coop#main
     
  2. simon-lemay-unity

    simon-lemay-unity

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    416
    I think Boss Room depends on relatively recent versions of Netcode for GameObjects. What version of the
    com.unity.netcode.gameobjects
    do you have installed? Could you try to update it to 1.4.0 or 1.5.1?