No active UnityEngine.XR.ARSubsystems.XRRaycastSubsystem is available

Hello I have a problem with all these errors which relates with XR. I dont know how to fix it. I hope someone help me with this problem. I dont really know what need to do. I am searching a massive count of time for this problem and it didn’t work in the end.

No active UnityEngine.XR.ARSubsystems.XRSessionSubsystem is available. Please ensure that a valid loader configuration exists in the XR project settings.
UnityEngine.XR.ARFoundation.ARSession:OnEnable () (at Library/PackageCache/com.unity.xr.arfoundation@4.2.10/Runtime/AR/ARSession.cs:341)