OBS 27 has no Wayland option on Ubuntu 21.04
So, as you can see I have pipewire installed but there is no option for it. And yes, I installed OBS from its PPA that means it is up to date (27.0.1)
So, I just need to say OBS to use Wayland with QT_QPA_PLATFORM=wayland obs