Starting Coroutines from Input from new Input System not working

Hey guys,

so i figured that it is not working when you try to start a coroutine from an input from the new input system.
I always get this error:

And the gameobject is definitely not destroyed or inactive.

I use these options:
9587902--1358170--upload_2024-1-17_20-35-41.png

When i disable “Enter Play Mode Options” it is working just fine.
And when i use the “normal” GetButtonDown Method it also works, despite the active Enter Play Mode Settings.

Am i missing something here?

Thanks and greetings

Hey guys,

nevermind, 2 minutes after posting i found my mistake.

I did not unsubscribe to an event in “OnDisable()”. My bad. So for anyone having the same issue, this is it.