Regression problem after updating A* to version 5.4.4

  • A* version: 5.4.4. (previous 5.3.7)
  • Unity version: 2022.3.60f1

Hello!
We encountered some regression after updating A* to version 5.4.4.

Problem description:
FollowerEntity.Move(Vector3 deltaPosition) no longer moves the character in our case. But in version 5.3.7, the same method allowed us to do this.

Our case:
The FollowerEntity component named as NavMeshAgent
canMove = true;
updatePosition = true;
updateRotation = false;
The IsMoving property is used to control path following, which toggles NavMeshAgent.isStopped.

The problem arises when the character is at idle state (IsMoving = false). In this state, the character can be involved in interactions that in turn switch Root Motion animations. We use NavMeshAgent.Move(rootPositionDelta) to move the character and take into account the work of RVO, which allows agents to avoid each other and obstacles. RootMotionDelegationComponent only provides the necessary information about Root Motion and delegates responsibility for moving the character (the animations themselves do not move the character; this is done by the HandleRootMotion method).

Took a look through the documentation to see if anything related may have changed since 5.3.7 that was related, but I didn’t see anything myself– I’ll tag Aron here. Thanks for letting us know!

1 Like

Thanks. This was indeed a bug.

You can work around it by using:

ai.position += deltaPosition;

instead, which will do the exact same thing as .Move did before.

I’ll include a fix in the next update.

1 Like

Thanks for replying!
Will wait for new update.