UR22C Distorted Sound

I have newly bought UR22C and downloaded all its software. I connect my guitar directly to the second channel with Hi-Z ON. On DSPfx I can hear the guitar with no problem, I can add effects, etc. But with a DAW, the recorded sound is really distorted and low-noised. I am using Cubase 10.5 AI for recording and following the steps for recording from UR as instructed in the youtube videos. I also have Bias FX 2 and when tried to run standalone mode, also had similar problems. The sound was very distorted and had high latency. How can I solve this problem?