Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question Does runtime navmesh baking include Entities or only GameObjects?

Discussion in 'Navigation' started by todorus, Mar 13, 2024.

  1. todorus


    May 23, 2016
    Hi all,

    I'm experimenting with DOTS to see if my simulation game is feasible in Unity. What I am running into now is that I want to generate a town which is made up out of Entities. This seems to work when I put some entities down in the editor and press the bake button, but not when I generate entities at runtime and call

    That got me thinking: at edit time, there are no Entities yet, just GameObjects that are going to be converted into Entities. So what the NavMeshSurface is actually using are still GameObjects. Is this a limitation of NavMeshSurface, or should this be possible, and I need to do some debugging in my town generation code?