Game acts completely differently on mobile

I have made a game that works flawlessly in the editor, but as soon as I package it to mobile, things in the game stop working. For example, in the editor my character shoots properly, but in the packaged version it only shoots once then can’t ever shoot again. I’ve looked through the logic and I am not using any external plugins in this area. I cannot for the life of me work out what is going on.