Unreal crashing after switching gpu

Hi everyone, I swaped my gpu from amd to nvidia and now every version of unreal crashes. I even try to install u5.2 after the gpu swap and still gives me this error:

LoginId:19253d5e4ce9228a0182c3a8392a1094
EpicAccountId:7019c529c61c4ab5b16c0211471b4df5

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000010

nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
nvwgf2umx
D3D12Core
dxgi
dxgi
dxgi
dxgi
dxgi
dxgi
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

how can i fix it?