How to update my NavMesh project from 2021.3.37f1

Hey,
i have to update my project from 2021.3.37f1 LTS to 2022.3 LTS.

As i noticed, the navmesh function is new. Is it possible, to convert my old navmesh function to the new AI Navigation function? Or do I have to completely reprogramme it?

I already installed the package AI Navigation and updated NavMesh Components to the newest version.

After converting the project to the new Editor Version i got this errors:

Library\PackageCache\com.unity.ai.navigation@1.1.7\Editor\Updater\NavMeshUpdaterUtility.cs(46,84): error CS0246: The type or namespace name ‘NavMeshSurface’ could not be found (are you missing a using directive or an assembly reference?)emphasized text

Library\PackageCache\com.unity.ai.navigation@1.1.7\Editor\Updater\NavMeshUpdaterUtility.cs(47,61): error CS0246: The type or namespace name ‘NavMeshSurface’ could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.unity.ai.navigation@1.1.7\Editor\Updater\NavMeshUpdaterUtility.cs(52,45): error CS0103: The name ‘CollectObjects’ does not exist in the current context

Library\PackageCache\com.unity.ai.navigation@1.1.7\Editor\Updater\NavMeshUpdaterUtility.cs(112,17): error CS0246: The type or namespace name ‘NavMeshModifier’ could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.unity.ai.navigation@1.1.7\Editor\Updater\NavMeshUpdaterUtility.cs(112,60): error CS0246: The type or namespace name ‘NavMeshModifier’ could not be found (are you missing a using directive or an assembly reference?)

While you’re on it, update to Unity 6 right away since 2022.3 is already out of support as well.

You mean the NavMesh (AI Navigation) package has been updated? That’s true, and you may need to make some script changes, although unlikely or only minor since you’ll still be using v1.x (there’s v2.0 as well, that is expected to introduce breaking changes). The package manual should help.

But the errors you are getting are from the package code itself. Check if Package Manager lists other packages with updates and if so, install those updates. If that doesn’t help, close the project, delete the /Library and /Obj folders of the project and try again. Version updates sometimes require a clean slate to fix odd issues.