Search Unity

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

Official Experimental AI Navigation Package

Discussion in 'AI & Navigation Previews' started by mplantady_unity, Jun 16, 2021.

  1. darashayda

    darashayda

    Joined:
    Jun 27, 2020
    Posts:
    423
    Thank you nonetheless.
     
    hippocoder likes this.
  2. bfoddy

    bfoddy

    Joined:
    Mar 27, 2012
    Posts:
    85
    The package hasn't been updated since they moved it over from Github a year ago. Really seems like Unity has abandoned navmesh functionality altogether, given that the built-in stuff is also not being updated despite the existence of serious bugs in the baking system. We're going to look into using third party alternatives.

    The OP of this thread has not even posted on the forums since August.
     
    Last edited: May 26, 2022
  3. filod

    filod

    Joined:
    Oct 3, 2015
    Posts:
    222
    actually they mute about the dev, see this to get the newer version https://docs.unity3d.com/Packages/com.unity.ai.navigation@1.1/changelog/CHANGELOG.html
     
  4. Onigiri

    Onigiri

    Joined:
    Aug 10, 2014
    Posts:
    458
    Holy ... it's alive
     
    hippocoder likes this.
  5. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    :O :O :O

    The navigation team never do manage to navigate to the forums do they? Must be a URL carving bug.


    Joking aside, please note:
    • Minimum supported version is increased to Unity 2022.2
     
  6. bfoddy

    bfoddy

    Joined:
    Mar 27, 2012
    Posts:
    85
    <
    lol
     
    Hypertectonic likes this.
  7. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,003
    Wow. So Unity does not have official stable nav-mesh package for 2021.3 LTS. There are only experimental packages until 2022.2 ...

    Seriously?
     
  8. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    The packages are just C# tooling though - you get all the source and can nose through it. Used it for years to bake without islands inside etc.

    Still, the naming does put people off a lot, and that's Unity's decision (tm).
     
  9. jacob_unity577

    jacob_unity577

    Joined:
    Jan 19, 2022
    Posts:
    6
    Why do trigger volumes get included in nav mesh generation for NavMeshSurface when geometry is set to Physics Colliders? And there's no option to not include triggers?

    This seems like behaviour that nobody would want
     

    Attached Files:

    Claytonious and mplantady_unity like this.
  10. Daxten

    Daxten

    Joined:
    Sep 20, 2013
    Posts:
    30
    lol, I'm not sure why you should trust in unity with these decisions / communications in the long run. This is navigation, there should be a stable core library (with runtime support)

    they just abandon their projects left and right
     
  11. zt3ff3n

    zt3ff3n

    Joined:
    Feb 19, 2016
    Posts:
    36
    Running 2021.3.4f1. Can't seem to add the package to the project. Even the previous version which is listed for 2019.4+ in the docs. Am I doing *it* wrong. Or do we really have to convert the project to 2022 beta ?

    upload_2022-8-21_16-52-42.png
     
  12. VitruvianStickFigure

    VitruvianStickFigure

    Joined:
    Jun 28, 2017
    Posts:
    38
    For the record this is still unstable as heck. The moment I include it (the most recent, non-experimental version) in a project, I end up with rendering errors on URP (including completely dropping my terrain textures even in edit mode), minute-long loading times for navigation mesh generation, and other issues.

    I could forgive that, it's in pre-release now; but what irks me more is that they put together a several-part video tutorial back in 2017 on it, and it's still not available in late 2022. Why put together a tutorial for a hypothetical, and at least partially closed-source, feature? It literally wasn't even out of experimental yet.

    Don't get me wrong, I don't believe in trolling; I try to keep my comments real and honest, but constructive. That said, I believe that Unity's built-in navigation system is functionally and fundamentally broken without these features.

    (I am, literally, now building my own system on the last LTS and ignoring traditional navigation meshes entirely. I have a two-month deadline, so this hurts quite a bit.)

    Was it not possible to release a stripped-down portion as a package, and leave more advanced features in experimental and pre-release?
     
  13. TJHeuvel-net

    TJHeuvel-net

    Joined:
    Jul 31, 2012
    Posts:
    834
  14. Kamyker

    Kamyker

    Joined:
    May 14, 2013
    Posts:
    1,084
    1.0.0-pre4 has bug in Unity 2023:
    Code (CSharp):
    1. Internal: JobTempAlloc has allocations that are more than the maximum lifespan of 4 frames old - this is not allowed and likely a leak
    Updating to newest hidden one fixes it. I wonder if that old package also has the bug but it's not shown.
     
  15. WelchCompositions

    WelchCompositions

    Joined:
    Sep 30, 2013
    Posts:
    29
    Im having the same problem, I can't seem to find this package
     
  16. Thaina

    Thaina

    Joined:
    Jul 13, 2012
    Posts:
    1,135
  17. mailfromthewilds

    mailfromthewilds

    Joined:
    Jan 31, 2020
    Posts:
    217
  18. Thaina

    Thaina

    Joined:
    Jul 13, 2012
    Posts:
    1,135
    I think that package are not directly related about generating navmesh at runtime. Actually, in unity, NavMesh are not technically being generated, it was singleton global data that would be modified and updated

    There are some API related to this system such as NavMeshBuilder.UpdateNavMeshData

    You can take a look at what we discussed about them in here

    https://forum.unity.com/threads/update-navmesh-at-runtime.475237/#post-7417196
     
  19. ifightnoman

    ifightnoman

    Joined:
    Jan 15, 2022
    Posts:
    13
  20. Ziplock9000

    Ziplock9000

    Joined:
    Jan 26, 2016
    Posts:
    360
    ..So I'm assuming there's no 2D support yet?

    Does that mean there's no pathfinding solution for 2D at all natively in unity?
     
  21. Thaina

    Thaina

    Joined:
    Jul 13, 2012
    Posts:
    1,135
    Glutax and TJHeuvel-net like this.
  22. TJHeuvel-net

    TJHeuvel-net

    Joined:
    Jul 31, 2012
    Posts:
    834
    Thanks so much for the headsup! Thats really interesting.
     
  23. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,449
    Why does the 2022.2.* editor install this package by default for all projects I open with it even if I'm not using it? I don't want to have this package in every project I start or work on. Can this be disabled for future editor releases? There is always an AI navigation modal in the scene view which gets in my way until I remove the package from package manager.. for every project.
     
  24. adriant

    adriant

    Unity Technologies

    Joined:
    Nov 1, 2016
    Posts:
    68
    The 2022.2+ editors install the AI Navigation package automatically in projects that have been created (or last opened) in versions up to 2021.3 in order to provide continuity to some navigation features that moved from the core editor and into the package. Without the package, the features would be suddenly missing to those that use them (e.g. navigation debug visualization). The package never gets installed automatically in newly created projects.
    We understand that not all projects need the Navigation package and we're sorry for any inconvenience. Please feel free to remove the package from the Package Manager, or hide the modal panel from the scene view by right-clicking on its title and selecting "Hide". This change persists in that project settings from then on.

    For reference, we've mentioned the change in the Upgrade Guide for 2022.2 here https://docs.unity3d.com/2022.2/Documentation/Manual/UpgradeGuide20222.html#nav+pathfinding .
     
    ROBYER1 likes this.