I'll go on a guess alsa got installed on the system. If that is correct, please try a command as root in terminal if necessary or on console:
amixer set Master 100% unmute && alsactl store && aplay /usr/share/sounds/alsa/Front_Center.wav It's possible that doesn't work because /var/lib/alsa/asound.state exists or /var/lock/alsa.lock exists. If those two files do not exist and pulseaudio and/or pipewire hasn't gummed up the works that should work.