I had this situation recently where suddenly with the new Beta update the sound of my airpods pro 2 was all gltichy and spatial audio didn’t work at all.
I've already check my airpods with other devices and they're completely fine.
Hope this helps!