Unity never finishes loading after switching to APIs to directx12

It gets stuck on “GizmoManager.DrawGizmos” I looked through the logs, and it seems the only issue is an error in the shader compiler log, pasted below

Base path: ‘C:/Program Files/Unity/Hub/Editor/2022.3.12f1/Editor/Data’, plugins path ‘C:/Program Files/Unity/Hub/Editor/2022.3.12f1/Editor/Data/PlaybackEngines’
Cmd: initializeCompiler

Unhandled exception: Protocol error - failed to read magic number (error -2147483644, transferred 0/4)
Quitting shader compiler process

the issue is fixed by me turning back on auto API for windows (via the .asset player settings file) but directx11 has been causing crashes and this was suggested to try. (link to reddit thread:Reddit - Dive into anything)I can’t find anything similar online to this issues., ive updated my graphics drivers, uninstalled and reinstalled everything to try and stop the crashing so this is kinda my only option
If you have any ideas, please lmk, I can’t get anything done if it crashes every 15 minutes