Latte Dock has been working fine in Wayland for months.
I am using the Unity layout.
After the recent 5.27.9 Plasma update, all the maximized windows go below the latte dock in Wayland.
The bug is absent in X11.
I am not sure if the bug is related to Latte or some other Plasma component (given that Latte was not updated, and it was working fine before the 5.27.9 update).