Enemy doesn't attack if the player is near it when te game begins

The game works well, but if an enemy is near the player when the game begins, it rotates to see the player, but it doesn’t chase or attack. It only begins to move when the player moves. I have checked my code in the EnemyAI.cs, and I can’t find the error. Anybody with the same problem?

Sorry, I found the answer just when I published the message! All morning checking the code and it is there is no transition from Idle to Attack. :woozy_face:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.