I tested my game and good lord. The navigation took a long time to bake, and I think I know why lol. I tested my game and when into the Scene view and the navigation WAS EVERYWHERE, not even blocking the areas I dont want to be navigable.
hello when ever i update my navmesh in script it always freezes 5 sec and then continues and i dont want that do you have any idea how to make it smoother like 0.5 sec would be ok
(for anyone who was wondering like me all i did to fix it was delete the engine part in the code so it reads "using Unity.AI.Navigation;" not "using UnityEngine.AI.Navigation;" :P)
Is this really heavy computation? I mean if i need this runtime bake for game to release in mobile
I tested my game and good lord. The navigation took a long time to bake, and I think I know why lol. I tested my game and when into the Scene view and the navigation WAS EVERYWHERE, not even blocking the areas I dont want to be navigable.
hello when ever i update my navmesh in script it always freezes 5 sec and then continues and i dont want that do you have any idea how to make it smoother like 0.5 sec would be ok
I didn’t understand your question. What freezes? The editor or the game when it’s running
@@GhostStudios the game
@springspinne2973 does it take 5seconds to generate the navmesh?
@@GhostStudios yes
@@GhostStudios so yes it does but my scene isnt only cubes its a terrain not that big but not simple
using Unity.AI.Navigation doesn't work.
I can add navmesh components onto my objects, but I can't utilise navigation functions in script
Watch the video at 1:30 . Make sure to add "com.unity.ai.navigation" package into your package manager.
@@GhostStudios did that too- even then not working.
Then I would need to see the project
@@GhostStudios nvm I figured it out lol my apologies
(for anyone who was wondering like me all i did to fix it was delete the engine part in the code so it reads "using Unity.AI.Navigation;"
not "using UnityEngine.AI.Navigation;" :P)