I now understand that the problem is not with the dock or monitors. DisplayLink simply doesn't see any devices inputed no matter if I put in directly my monitor via usb-c into Macbook or I do it via docking UD22, it doesn't see any devices whatsoever. The version is the newest for MacOS Sonoma, so the version must be correct one.
Hmm, how to solve the problem now