Unity XR Interaction toolkit socket not working when game is built

Works fine in the unity editor play mode but whenever I build it either to android or PC it just does not work. I’m using unity 2020.1.9f. I’ve tried making a fresh project but that didn’t work either.

Same problem. Did you solved it? Thank you