Search Issue Tracker
Won't Fix
Won't Fix in 2022.2.X
Votes
0
Found in
2022.2.0a17
Issue ID
UUM-6991
Regression
No
[NavMesh] NavMeshSurface cannot be referenced in Editor or Script
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
Comments (1)
-
ststrohe
Jan 25, 2023 12:00
I wanted to use the Navmesh Surface component of the "NavMeshComponents" GitHub Folder. I had the same problem because the AI Navigation package was installed on my Project via Packed Manager and Unity wanted to use this component. Removing the AI Navigation package fixed it for me.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
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.
Resolution Note (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.