'NavMeshSurface' does not contain a definition for 'IsPartOfPrefab'
Asked Answered
B

1

0

Unity NavMeshSurface IsPartOfPrefab not found something. It says in the log

error CS1061: ‘NavMeshSurface’ does not contain a definition for ‘IsPartOfPrefab’ and no accessible extension method ‘IsPartOfPrefab’ accepting a first argument of type ‘NavMeshSurface’ could be found (are you missing a using directive or an assembly reference?)

I have absolutely no idea what to do.

Please help me.

Baba answered 2/4 at 8:47 Comment(1)

Did you got solution for the same? Encountered same error

Necessitate
L
0

Are you using the AI Navigation package? If you are not using it, just remove it from the Packages folder and it will work, it usually happens when you update from one version to another

Laidlaw answered 2/7 at 12:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.