I have platformer, for jumping I use Bool-value to check whenever I'm on the air or not (so you can't do midair jumps).
Practically it checks it by whenever I press Spacebar to jump, Bool for being on the air becomes true. And when Collission 2D Event collides on the ground, Bool-value for being on the air goes off.
However, Collission 2D event activates whenever I touch the ground, and not necessarily for being ON the ground. Practically it means I can jump besides floating platform midair, which is what I do not desire.
There is one other bug caused by this. Dropping down from cliff doesn't activate "on the air" bool-state, and thus I can't make walljump.
I demonstrated bug and my current setup on video to clarify how it works for me currently: