OBS not working even on Xorg after trying Wayland

Ok, 4 months later I find the fix:

Deleting the .profile file created by the sway community installation script (It’ll be located in the home folder). After that everything is fine again.