Dude, we had the EXACT same issue with our jam entry, 'Duet'. Unity is infamous for having a terrible legacy input system. With like 6 hours until the jam was over, we broke down and got Rewired. I honestly can't recommend that plugin enough.