Search Issue Tracker

Fixed in 5.5.0

Votes

0

Found in

5.3.4f1

Issue ID

790250

Regression

No

"Coupling Animation and Navigation": example project is not working correctly

AI

-

Manual informs that an example project that shows how to couple Animation and Navigation should work well (http://docs.unity3d.com/Manual/nav-CouplingAnimationAndNavigation.html). However, it does not.

Steps to reproduce:
1. Open attached project.
2. Navigate to: "Assets\NavigationAnimation_45_and_50\NavigationAnimation\Assets\" and open scene named "scene".
3. Press "Play" button.
4. Notice the output of the "Console" window:

" Failed to create agent because there is no valid NavMesh. "

5. Press somewhere inside of "Game" window.
6. Notice the output of the "Console" window:

" 'SetDestination' can only be called on an active agent that has been placed on a NavMesh.
UnityEngine.NavMeshAgent:set_destination(Vector3)
ClickToMove:Update() (at Assets/NavigationAnimation_45_and_50/NavigationAnimation/Assets/Scripts/ClickToMove.cs:16). "

Expected result:
An example project should work correctly.

Reproduced with:
5.1.0f3, 5.2.4f1, 5.3.4f1, 5.3.5p1, 5.3.5f1, 5.4.0b18.

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.