Using DX12 with Oculus XR Plugin

Hi, I am currently trying to work with ray tracing in VR. I know it wasn’t possible before but I read that VR raytracing is supposed to be possible now. When I try running my Scene I get this error though.

D3D11 is currently the only graphics API compatible with the Oculus XR Plugin on desktop platforms. Please change the preferred Graphics API setting in Player Settings.
UnityEditor.EditorApplication:Internal_PlayModeStateChanged (UnityEditor.PlayModeStateChange)

I am using the HDRP and followed this tutorial to activate raytracing in my scene.

Is there any way to use DX12 with Oculus XR?

Do I need to use another Plugin?

Or am I missing something?

I fixed it by switching my Project to OpenXR