Basically all i did is that i created a folde in the assets folder called Scripts and i moved my scripts to this folder
thats it
i tried re importing all
i tried deleting the lib folder
nothing fixed
to reproduce move some scripts then try clicking on ranodm objects in the hierarchy
im using urp unity 6 12f1
i had this before and the only way i was able to fix it is basically creating an other project and moving things to it.