Problem with my assembly files of XR and ARFoundation

Hi, I was working with Unity XR and everything worked fine, but at some point i needed to change the AR Session Origin tag and so i did, but after this, when i opened the scripts, i found red errors on everything that used the XR namespace:

205120-what.jpg

The error says “The type or namespace of “ARFoundation” / “ARSubsystems” doesn’t exist in the namespace “UnityEngine.XR”. There are probably some Assembly references missing.” (Sorry if it’s not the exact same wording but i’m translating it in english from my language).

I did not change any assembly script, nor have i changed the script in any way before changeing the game object’s tag, so i don’t know what is happening. I already tried to delete them and rewrite them, i tried to delete them and add them through Unity’s suggestions, but nothing seems to change. What do i have to do?

I fixed it: it was an error on Unity’s end that for some reason messed up the assembly scripts, when i opened a copy of the project i made to test some fixes i found out that copying, pasting and using the copied versione allowed unity to re-build the assembly files and fix itself