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

Package: AI Navigation

-

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?)

  1. Resolution Note:

    Fixed in the editor 2022.2.0a14

  2. Resolution Note (fix version 1.1.0-pre.1):

    Fixed in the editor 2022.2.0a14

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.