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
- Shader transparency, discard, and clip are not working when using the Player
- Error is thrown when clicking on warning in the console
- Long IL2CPP build time when project has a .ufbx library wrapper
- Cursor doesn't change to the resizing when using the Rect Tool and the Sprite is too close to the bottom of the Scene View
- InvalidOperationException exception is thrown when Editor Default Text Rendering Mode is set to "Bitmap" and Editor Font is set to "System Font" and an array is expanded in the Inspector Window
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