How to create obstacles with navmeshcomponents

I am creating the navmesh at runtime with navmeshcomponents but it doesnt have obstacles, if i set the foor and there are columns those columns are ignored and the enemies just go through them, i can use navmeshobstacles but i have to add the script to every object, is that the only solutions or i am missing something

i already solved it, just had to add the columns as another object for the navmesh

1 Like