alsaucm introduced a change in version v1.2.14, setting the UR22C to 4 HW channels instead of 2. This causes the spa.alsa: Errors in ALSA UCM profile for card Steinberg UR22C error for me.
The change was introduced because firmware 3.20 of the UR22C requires 4 HW channels, while I am on an older firmware right now. Updating the firmware seems to be only possible using the proprietary Windows tool. [1]
However alsaucm version v1.2.15 also introduced a fix.
So the error will fix itself once NixOS/nixpkgs#469812 is merged. I should still look into updating the firmware on my UR22C somehow.
[1] see discussion here: alsa-project/alsa-ucm-conf#547