Record Yamaha MODX as audio

Hello! I can’t get any sound recorded on audio track from Yamaha MODX using USB connection but I can record midi and hear midi playback from MODX headphone output. I tried to record audio from MODX usb MAIN L R outputs or USB 1, 2 but audio track is empty. Can you check what I am doing incorrectly? I am using MODX firmware 2.0 and Cubase Elements 10.5.5 on MacOS Mojave 10.14.6

It turned out that if access to built in microphone is disabled all audio input is disabled. So I enabled it and it worked!