Discord causes Unreal Engine to crash across multiple platforms

Hey everyone.
So after getting multiple crashes that all was related to the RHI on both DX11, DX12 and Vulkan across both Windows and Linux.
I decided to do a bit of investigation.

Using both a Launcher build, Zip-build for linux and Source builds for both 5.4, 5.5 and 5.6
I keep getting the same issue.

Unreal crashes a lot, essentially it dumps the RHI and crashes.

Now, this actually only happens when i start Discord, then Engine.

I then decided to turn off Discord hardware acceleration and also try to run Discord in my browser of choise and the crashes went away.

My theory for this is that Discord tries to access things at the exact same time as unreal does meaning both applications tries to reserve the exact same memory and this causes a conflict that makes Unreal Crash.

This has been a thing for a very long time and not only does Unreal have this issue. Multiple of my other creative applications suffers from exactly the same if they use either DX or Vulkan leading me to believe that whatever Discord’s hardware acceleration does causes issues with a lot of programs.

As Discord’s source code isen’t really avaliable or open-source, it makes it somewhat difficult to figure out this issue.

The reason i’m writing this is because i know many people suffer from the same issue and by turning off Hardware acceleration on Discord, you can potentially address a lot of the Engine crashes.