Editor crashes when using DX12 and/or Ray Tracing?

I just found a solution. If you have the nvidia dlss plugin enabled, then just try to disable it. It helped for me.