Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Question How can I check the unity package and the version of unity that the package supports?

Discussion in 'Editor & General Support' started by UDN_388648da-a4c8-4308-af17-47614073dd10, Apr 27, 2024.

  1. UDN_388648da-a4c8-4308-af17-47614073dd10

    UDN_388648da-a4c8-4308-af17-47614073dd10

    Joined:
    May 13, 2017
    Posts:
    71
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,807
    Package manager shows all compatible versions of officially supported packages, for selected Unity version.
    If it is no there, it is not officially supported.
     
  3. Spy-Master

    Spy-Master

    Joined:
    Aug 4, 2022
    Posts:
    690
    https://github.com/needle-mirror/com.unity.ai.navigation/blob/master/package.json
     
  4. UDN_388648da-a4c8-4308-af17-47614073dd10

    UDN_388648da-a4c8-4308-af17-47614073dd10

    Joined:
    May 13, 2017
    Posts:
    71
    Thank you again and again.

    I created a new project in unity 2021.3.21f1 and looked for AI Navigation in the package manager, but it does not show up.
    Does this mean that there is no AI Navigation supported in 2021.3.21f1?
    upload_2024-4-28_10-8-38.png

    Listed on this page
    https://docs.unity3d.com/Packages/com.unity.ai.navigation@1.0/manual/index.html

    I tried this method, but
    To install the package, follow Adding a registry package by name instructions and add com.unity.ai.navigation.
    This does not seem to give me a version for 2021.3.21f1
    upload_2024-4-28_10-9-23.png
     
  5. UDN_388648da-a4c8-4308-af17-47614073dd10

    UDN_388648da-a4c8-4308-af17-47614073dd10

    Joined:
    May 13, 2017
    Posts:
    71
  6. Spy-Master

    Spy-Master

    Joined:
    Aug 4, 2022
    Posts:
    690
    It's an unofficial mirror of most packages hosted on the Unity NPM registry. It's just useful for quickly referencing source code and miscellaneous files in Unity's NPM packages. In this case, I'm showing that the minimum supported version is defined as 2023.2.0a18. You're on 2021.3.x, which is not compatible with versions down to 1.0.0-pre.1. The last version that doesn't exclude 2021.3.x is 1.0.0-exp.4, but that was published around 3 years ago.
     
    Ryiah and spiney199 like this.
  7. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,359
    Unity doesn't provide public access to most of their repositories.
     
    Spy-Master likes this.
  8. UDN_388648da-a4c8-4308-af17-47614073dd10

    UDN_388648da-a4c8-4308-af17-47614073dd10

    Joined:
    May 13, 2017
    Posts:
    71
    Thank you very much.
    This explanation of yours is an easy one to understand.
    If I want to use NavMesh, the only way may be to use a project with 2023.2.0a18 or higher.
     
  9. UDN_388648da-a4c8-4308-af17-47614073dd10

    UDN_388648da-a4c8-4308-af17-47614073dd10

    Joined:
    May 13, 2017
    Posts:
    71
    It would be fine if the availability and versions of the required functions were clearly described (-_-;)
     
  10. Spy-Master

    Spy-Master

    Joined:
    Aug 4, 2022
    Posts:
    690
    In 2021.3, I believe you're meant to use the built-in module calld AI. You can enable or disable the module in the Package Manger.
    https://docs.unity3d.com/2021.3/Documentation/Manual/Navigation.html
    Given 2021.3 LTS is expected to reach end of support mid-2024 (in a couple months), it would be better to use 2022.3 LTS at a minimum, which happens to support com.unity.ai.navigation 1.1.3. There were changes between 2021 and 2022 regarding how navigation stuff was shipped. The AI Navigation package (com.unity.ai.navigation) package should be used for 2022+.
     
    Last edited: Apr 28, 2024