Android Touch input not registering

I am using a galaxy note tablet with lollipop 5.1. it does have the ARMv7 processor and Unity seems to run fine and update the physics on the tablet. But the touch functions wont work.

The Touch.GetTouch and touchCount functions are not working on this device, but do work on my phone with android 7.0.

Does anyone know any reason that 5.1 wouldnt detect touch input. Or if there is an issue with the samsung device?

Fixed it.

I used some #if UNITY_ANDROID and #if UNITY_STANDALONE_WIN to separate the piece of code. For some reason my phone using 7.0 ignores the mouse input? or something like that perhaps?

It would seem that the mouse input code after the touch inputs was causing the problems.