Search Issue Tracker

Not Reproducible

Votes

0

Found in

4.6.0b2

Issue ID

590894

Regression

No

Example code for NavMesh.CalculatePath is broken

1. Open documentation page via Help->Scripting Reference
2. Find docs for NavMesh.CalculatePath

Example code has the following problems:
1. It calls CalculatePath on a NavMesh instance, although CalculatePath is static
2. NavmeshPath is never allocated/initialized
3. It has a public reference to NavMesh, although it has no use in this context

Add comment

Log in to post comment