Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question What assembly is using Unity.Netcode.Transports.UTP; in?

Discussion in 'Netcode for GameObjects' started by hoesterey, Apr 30, 2022.

  1. hoesterey

    hoesterey

    Joined:
    Mar 19, 2010
    Posts:
    659
    Updating a project based and all the document links are broken so I've been unable to figure out what assembly using Unity.Netcode.Transports.UTP; lives in. Oddly Unity.Netcode.Transport.UNET is found.

    Any ideas what I need to add?
    upload_2022-4-29_16-57-11.png
     
  2. simon-lemay-unity

    simon-lemay-unity

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    149
    It should be under
    com.unity.netcode.runtime
    . What errors are you getting?
     
  3. hoesterey

    hoesterey

    Joined:
    Mar 19, 2010
    Posts:
    659
    Assets\GoldboxPlugins\Networking\Scripts\Shared\ConnectionManagement\ConnectionManager.cs(4,32): error CS0234: The type or namespace name 'UTP' does not exist in the namespace 'Unity.Netcode.Transports' (are you missing an assembly reference?)
     
  4. hoesterey

    hoesterey

    Joined:
    Mar 19, 2010
    Posts:
    659
    I've also tried adding Unity.Networking.Transports
     
  5. simon-lemay-unity

    simon-lemay-unity

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    149
    Which version of Netcode for GameObjects are you using? UTP appeared there in 1.0.0-pre.7.