Search Issue Tracker
Fixed
Fixed in 1.1.0-pre.1
Votes
0
Found in [Package]
1.1.0-pre.1
Issue ID
NAVB-27
Regression
Yes
'NavMeshDataInstance' does not contain a definition for 'FlagAsInSelectionHierarchy' error in the Console after installing AI Navigation package
Reproduction steps:
# Open the user attached project
# Observe the Console
Expected result: no errors appear
Actual result: an error appears
Reproducible with: 1.1.0-pre.1 (2022.2.0a1, 2022.2.0a13)
Not reproducible with: 1.0.0-exp.4 (2020.3.38f1, 2021.3.8f1, 2022.1.13f1), 1.1.0-pre.1 (2022.2.0a14, 2023.1.0a5)
Reproduced on: Windows 10
Full error:
Library\PackageCache\com.unity.ai.navigation@1.1.0-pre.1\Editor\NavMeshSurfaceEditor.cs(333,44): error CS1061: 'NavMeshDataInstance' does not contain a definition for 'FlagAsInSelectionHierarchy' and no accessible extension method 'FlagAsInSelectionHierarchy' accepting a first argument of type 'NavMeshDataInstance' could be found (are you missing a using directive or an assembly reference?)
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
- Sprite Importer Checkbox Label Truncated in UI (2D Template)
- Light theme icon is missing for Volume Component in the Inspector window
- Volume Profile effects are still showing and active in Game View when the Volume Profile is reset
- Shader Graph Tab Lacks Right Margin for Long Titles
- 2DLight component only renders when ShadowCaster2D components are within range in WebGL builds
Resolution Note:
Fixed in the editor 2022.2.0a14
Resolution Note (fix version 1.1.0-pre.1):
Fixed in the editor 2022.2.0a14