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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Integration of NavMesh Building Components

Discussion in 'AI & Navigation Previews' started by RG_Keith, Aug 23, 2017.

  1. RG_Keith

    RG_Keith

    Joined:
    Mar 14, 2017
    Posts:
    35
    Are the new NavMesh Building Components that are on GitHub - NavMesh Surface etc. - going to be integrated into Unity at some point? Any idea when? There's no mention of them on the roadmap.

    The docs on GitHub also only mention 5.6 - I assume they work with 2017.1+ too?
     
    Kissta likes this.
  2. IngeJones

    IngeJones

    Joined:
    Dec 11, 2013
    Posts:
    129
    I tried asking this too (about whether they are compatible with 2017 series) - I think in another section, but had no answer. What I feel I need to know is whether they are keeping up with the main Unity releases or if I am likely to find myself with a game that suddenly doesn't work after I install a new Unity. And if so, what will tell me that I need to get an updated NavMesh Components download?

    Actually I just found this: http://forum.brackeys.com/thread/unity-navmesh-components-for-dynamic-update/ The guy who made this video is using 2017.2 beta and they're working for him in that.
     
    Last edited: Aug 27, 2017
    RG_Keith likes this.
  3. RG_Keith

    RG_Keith

    Joined:
    Mar 14, 2017
    Posts:
    35
    Yeah we're wondering the same thing - I don't want to move our project to rely on the separate components if the update cycle is going to break something. At the same time, we need to get navmesh baking working with only collision volumes and not render meshes, so using the NavMeshSurface component seems like a necessity.

    I understand this is just how experimental features work, but some transparency on the roadmap would help a lot in planning.
     
  4. IngeJones

    IngeJones

    Joined:
    Dec 11, 2013
    Posts:
    129
    I did see that there are a couple of branches in the Github that are relevant to the current version and its beta. But they've not been merged to Master yet and neither have there been new commits to the branches for months. So it does give me a bit of a worry.
     
    RG_Keith likes this.
  5. Cleverlie

    Cleverlie

    Joined:
    Dec 23, 2013
    Posts:
    219
    bump on this, I also wonder if they are going to add more features or expand the API, we still cannot query interesting stuff to the pathfinding system like if two points are in the same island, or if a point is reachable, or how to do queries about blocking placements, I'm completely lost with all this.
     
  6. IngeJones

    IngeJones

    Joined:
    Dec 11, 2013
    Posts:
    129
    Are we posting in the wrong place to get a reply from the people who know?
     
  7. Cleverlie

    Cleverlie

    Joined:
    Dec 23, 2013
    Posts:
    219
    I think the original post is related to what I'm struggling at the moment, so is good to bump this thread, if my project is heavily dependant on the Unity Navmesh system, I want to know what are their plans to have good support on it and full integration with the engine, I'm interested in this thread, and the answers to the original question, otherwise I would not be posting.
     
  8. IngeJones

    IngeJones

    Joined:
    Dec 11, 2013
    Posts:
    129
    I know, so am I - I am just saying given the lack of reply, maybe we're not asking in a place that the devs look in, and therefore we could bump all we like and still not get a reply. Are there other places to ask? I am relatively inexperienced here
     
  9. Cleverlie

    Cleverlie

    Joined:
    Dec 23, 2013
    Posts:
    219
    mmm some time ago in an answers thread a unity dev answered something related, I tried to quote him and ask him about this thing and he never replied, so I don't know, either they are too busy or they don't actually have an answer so they remain silent until the backend is mature enough to be able to do this vital stuff for most RTS-like games

    note: I meant Unity Answers forum, I'll check later and post here the link
     
  10. IngeJones

    IngeJones

    Joined:
    Dec 11, 2013
    Posts:
    129
    Did you find that link?
     
  11. Cleverlie

    Cleverlie

    Joined:
    Dec 23, 2013
    Posts:
    219
    sorry I can't find the post, UX in unity forums/answers etc is far away from good, I have no idea how to do simple stuff like finding your own comments in the forums etc, is really annoying.
     
  12. Cleverlie

    Cleverlie

    Joined:
    Dec 23, 2013
    Posts:
    219
  13. IngeJones

    IngeJones

    Joined:
    Dec 11, 2013
    Posts:
    129
    I wonder if the person/people developing that feature have maybe left the company? That could explain the Marie Celeste effect.
     
  14. IngeJones

    IngeJones

    Joined:
    Dec 11, 2013
    Posts:
    129
    I think Jakob (who worked for Unity) has left, and the only other person who is a contributor to this feature was only active for about a month this year and could well have lost interest. So it would rely on someone being interested enough to fork it, since without an active admin on the project people can't even make pull requests. In fact there is a pending pull request that no one has responded to, and Jakob stopped replying to issues in around May.
     
    Last edited: Sep 27, 2017
    Cleverlie likes this.
  15. Cleverlie

    Cleverlie

    Joined:
    Dec 23, 2013
    Posts:
    219
    yes I noticed the lack of activity from his user account, I hope that an engine feature such as this doesn't rely on only one person and has some part in an integrated development plan, hopefully they will reassign someone to work on this, otherwise this is a shame, I feel unity kind of wash their hands by making parts of the engine separate github projects, more than opensourcing things get relaxed and doesn't follow the main update cycle
     
  16. IngeJones

    IngeJones

    Joined:
    Dec 11, 2013
    Posts:
    129
    I have tweeted @Unity3D in the hopes that someone will look at this.
     
  17. IngeJones

    IngeJones

    Joined:
    Dec 11, 2013
    Posts:
    129
    Last edited: Sep 29, 2017
  18. Hertzole

    Hertzole

    Joined:
    Jul 27, 2013
    Posts:
    416
    The NavMesh components are not yet implemented. It's true that the navmesh backend was improved to support things like runtime baking in 5.6, but the components in the GitHub project are not implemented. There is no component like the NavMeshSurface component found in the GitHub project present in Unity, nor is there a component called "NavMeshBuilder" as the person in the thread above said.
    So the original question still stands.
     
    RG_Keith likes this.
  19. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    From my experience it's usable, I'm not lacking any features. It's a bit rough and ready but it's not what I call ship stopper state. I think the plan was to include it with pack man in 2017.2, or start doing that then. I haven't heard any more than that.
     
    RG_Keith likes this.
  20. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,901
    Navmeshbuilder exists and I am using it right now?

    https://docs.unity3d.com/ScriptReference/AI.NavMeshBuilder.html

    Try and access it in Unity 2017.2, it is absolutely fine? Perhaps you are not using the right namespaces? You need to add the relevant namespaces within the UnityEngine.X

    EDIT: Make sure to have using UnityEngine.AI
     
  21. djweinbaum

    djweinbaum

    Joined:
    Nov 3, 2013
    Posts:
    533
    Yep I am wondering this as well. Unity please tell us what's going on with this! This navmesh update seems big and is fairly essential. It seems like its been very close to ready to go into the main trunk for a while. What happened? Anyone know the right person to contact about this?
     
  22. Hertzole

    Hertzole

    Joined:
    Jul 27, 2013
    Posts:
    416
    I misinterpreted then. It's true that there is a NavMeshBuilder class and I even mentioned it (kinda) with "It's true that the navmesh backend was improved to support things like runtime baking in 5.6", which I believe would be the NavMeshBuilder. But what we want from this thread is the components. The ones that do most of the work for us and so we don't have to feed in a bunch of parameters.

    Also, I quickly went to see if the NavMeshBuilder was a thing, which it was, but I only had "BuildNavMeshData" of all the build methods in the UnityEngine.AI namespace. The UnityEditor.AI namespace has the others. So it seems like the documentation is lying to us.
     
  23. IngeJones

    IngeJones

    Joined:
    Dec 11, 2013
    Posts:
    129
    Well I am at least pleased it's accessible now. I don't really mind doing it from the c#
     
  24. MadeFromPolygons

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,901
    To be honest, after the last few months I tend to take everything I read in the documentation to potentially be a direct lie or contradiction due to some of the outright wrong information provided in a lot of the pages :(
     
  25. OlegHCP

    OlegHCP

    Joined:
    Mar 7, 2017
    Posts:
    44
    Any news?
     
  26. ratneshpatel

    ratneshpatel

    Joined:
    Oct 10, 2017
    Posts:
    21
    No News I believe
     
  27. Mitch_Heinsenberg

    Mitch_Heinsenberg

    Joined:
    Sep 29, 2020
    Posts:
    15
    Is there an existing Unity asset file, that I can import into an existing project?
    Thank you
     
  28. DarthHawk13

    DarthHawk13

    Joined:
    Feb 24, 2016
    Posts:
    63
    Watch these two YouTube videos to understand how to use Unity navmesh


    &&