The Item cannot be stopped because of module

kuzeykirklar

New member
Hello, gurus
I have a question. I wanted to add new weapon for shovel. I added animations. When I switch to the item idle works fine. Also after press Fire1 button animation works and problem starts there. Use ability stuck in the same index and i can't get out of animator. Also inventory stuck because of the problem.
Debug says:
[414][ShovelItem] : The Item cannot be stopped because of module [0] Simple (1).
UnityEngine.Debug:Log (object,UnityEngine.Object)

Also i attached my setup so you can understand the situation better.
 

Attachments

  • Screenshot 2025-02-02 222330.png
    Screenshot 2025-02-02 222330.png
    45.1 KB · Views: 10
  • Screenshot 2025-02-02 222345.png
    Screenshot 2025-02-02 222345.png
    50.3 KB · Views: 12
  • Screenshot 2025-02-02 222357.png
    Screenshot 2025-02-02 222357.png
    144.7 KB · Views: 11
  • Screenshot 2025-02-02 222406.png
    Screenshot 2025-02-02 222406.png
    92 KB · Views: 8
Animator parameters looks like this
 

Attachments

  • Screenshot 2025-02-02 180353.png
    Screenshot 2025-02-02 180353.png
    19.9 KB · Views: 2
  • Screenshot 2025-02-02 180403.png
    Screenshot 2025-02-02 180403.png
    18.6 KB · Views: 2
If the simple trigger is stuck and cannot stop, then that means the item action never completed.
Can you double check your completion parameters?

If you are using an animation event for use complete makes sure it doesn't happen before use event.
1738572368149.png

Can I ask you why you have it set as selector Matching Recoil?
If you were to set the default values like so, does it work or does it still get stuck? (This is from the assault rifle Melee attack action triggered using "b" if you want to compare with your setup)

1738571823569.png

Btw if you set the "CanStopIfInputStop" value to true then you can force it to stop if the input is no longer pressed. Even before the action is completely finished.
 
I used Matching Recoil just to try. The default one also did not work. I can try "CanStopIfInputStop". I will let you know the result.
 
Back
Top