VSTi, Midi & Audio Sync Issue

Hi Guys,

I am new to this forum and am currently running Cubase 8 Pro but I am having issues with SYNC. I am unsure if this could be the audio click itself…

So… When I play with the click using my Midi controller and Halion the sound seems in time to my ear. But when recording the notes show to register on the program slightly early. If I change the click from the audio one to midi and use Halion to produce the click and then record the midi notes arrive after the beat rather than before.

I am running a 2015 Mac I7 16gb ram and a UAD Apollo twin MK1 (Thunderbolt). The Midi devices I am using are both USB connected, one is a samson Graphite M25 and the other is a Roland UM-ONE.

Maybe this has came up in this forum before but I cant seem to find it. Any help would be greatly appreciated.