Unity Issue Tracker - NavMeshSurface cannot be referenced in Editor or Script
Closed
UUM-6991
NavMeshSurface cannot be referenced in Editor or Script
Unity: AI Navigation Core
NavMesh
Won't Fix
2022.2.X
This issue is caused by the usage of both NavMeshComponent experimental project and AI Navigation package. One of the 2 systems need to be uninstalled to work properly.
1. Open the attached project "internal_tower_defense.zip"
2. Open the "Main Scene" under "\Assets\Scenes"
3. Select "Manager" GameObject
4. Try to attach "NavMesh Surface" GameObject to "Manager" "Nav Mesh" field
4 (Alternative). Open the Manager script and attach the "NavMesh Surface" GameObject component to "Manager" "Nav Mesh" field
Expected results: NavMeshSurface can be referenced in Editor or Script
Actual results: NavMeshSurface cannot be referenced in Editor or Script
Reproducible on: 2019.4.40f1, 2020.3.36f1, 2021.3.5f1, 2022.1.6f1, 2022.2.0a17
Prioritise and Follow this issue
Have a workaround or additional info about this issue?