- Home /
surface.Bake(); no such command
(re: https://www.youtube.com/watch?v=n-RXnDGE72M∈dex=12&list=PL4AZfZ_v6LZNn6LPUbYFyKJNlssdzlu9K at 13 mins 50 secs)
When I try: surface = GetComponent (); surface.Bake();
I am getting an error message: UnityEngine.AI.NavMeshSurface does not contain a definition for bake and no extension method Bake of type UnityEngine.AI.NavMeshSurface could not be found "are you missing an assembly reference
I am struggling to get the dynamic navmesh working.
Answer by Bunny83 · Sep 10, 2017 at 11:07 AM
Well, have you loaded the components from their github page ? They seem to have refactored the component and have renamed the method to "BuildNavMesh()" which is actually a better name for dynamically updating a navmesh.
Keep in mind that this talk is already kinda old and it was the first version they presented to the public.
Specifically here's the change they made on March 28
Answer by Acid_kenobi · Sep 10, 2017 at 11:09 AM
Have you downloaded the extra files here ?? : https://unity3d.com/learn/tutorials/topics/navigation/introduction-and-navigation-overview
They are required for the new Navmesh feature functionality
Your answer
Follow this Question
Related Questions
Lag when baking NavMesh at run time 1 Answer
Agents on run time baked navmesh behave weirdly 0 Answers
Nav mesh holes with terrain 1 Answer
NavMesh Baking Problems 0 Answers
NavMesh Modifier not changing navmesh 2 Answers