End Users reporting Discord Streaming crashing UE 4.26 Game

Hi All,

Looking for developers with similar circumstances.

We released a game a few years ago and we are now getting a steady feed of players reporting that Discord is crashing both itself and the game when they are utilizing the Streaming feature to let their friends watch them play. So this seems to have been introduced as a fairly recent problem (by Discord).

The crash is always a GPU crash caught in the rendering thread by the check rendering result function.

Has anyone had some experience digging further into this, or possibly having figured out a solution? I haven’t being able to reproduce it myself.

We used a source build to release the game so fixing up engine code certainly is on the table.

1 Like

Hey there @Gossy! This is an illusive issue! That’s got me wondering if it affects newer releases as well as I’ve seen reports of GPU memory errors from some users when attempting to stream as well. I’ve personally been unable to reproduce this issue in the few instances it’s come up and with no data to go over, it’s been rough.

Which RHI does your project run in?

Do your end users with the issue have a pattern in hardware/OS?

If you come across any patterns or can reproduce please don’t hesitate to let me know!

Hi!

The game only uses D3D11RHI on Windows.

As of writing this, there is a fairly regular pattern in the crash reports:

  • Are Windows 10.
  • Using Nvidia Graphics cards.
  • Spanning multiple driver iterations (so upgrading drivers didn’t help).
  • It doesn’t crash immediately, it’s usually taking about ~10 minutes of gameplay beforehand.

My findings so far with a bit of speculation:

  • I found old posts describing a very similar problem, where upgrading to a “canary” build of Discord helped, but the posts are several (2-3) years old. So it could be a regression in Discord.
  • It seems to affect other installed Unreal Engine games on players computers (I had a few mention this when I followed up with them).

That’s pretty much all i’ve got for now.

Cheers!

1 Like

Thanks for the info, any data is good data! From what I gather it’s likely as you say a specific issue with how Discord handles the streaming. Definitely let me know if you find a replication and we can see if we can get it reported on Discord’s side as well!