ARFoundation

I have a " The type or namespace name ‘ARFoundation’ does not exist in the namespace ‘UnityEngine.XR’ (are you missing an assembly reference?)" error in my existing project.

If I create a new project I don’t see this issue and I have installed\uninstalled ARFoundation without success. I noticed a few similar earlier posts but no solution. Are there any suggestions for how to diagnose this?

I am using Unity 2020.3.26f1 and MRTK 2.7.3

Please file a bug.

I have filed a bug. Let me know if anything else is needed.

I have discovered the issue. In my target project I created my script which referenced ARFoundation in the Scripts folder but another dependency in my project had an asmdef in the scripts folder so my code ended up in the wrong code project.