False triggering on my drumset connected to UR22C

Hello there. Im trying to use my drumset through 5 pin mid with steinberg UR22C. But it plays the wrong sounds ( For example Snare drum playing a hihat sound) or it plays a lot of different sounds at the same time. What can i do to make it work properly?

Not impossible, but unlikely that your UR22C is at fault here.
Is the problem intermittent? Does playing the snare always triggers the hihat, or it’s more “random”?
First easy step is to try a different cable, if you have not already.

The problem is constant. And when i play a drum it plays different sounds everytime so it is random. I tried plugging my drumset directly into my computer with a USB midi and it worked. Though im wondering if i put my drumset into my computer, does it use my UR22C?