I noticed that the problem with the trigger causes this bug. after that, I found the ResetTrigger function in the Unity documents and added the line GetComponent() .ResetTrigger(“stopattack”); in the InteractWithCombat() method, this seems its fixed the error.
1 Like