Open vkuhlmann opened 3 years ago
I can repro this with my Unity game. OpenVoiceSettings causes the Discord Client to crash.
Can replicate the stacktrace that's in the console is:
e39a96e2040d778c82c5.js:2 ReferenceError: React is not defined
at 58a07c81fdea8a8fac87.js:2
at r.render (c99303d54843532af963.js:2)
at $a (c99303d54843532af963.js:2)
at Ja (c99303d54843532af963.js:2)
at Cs (c99303d54843532af963.js:2)
at Au (c99303d54843532af963.js:2)
at Iu (c99303d54843532af963.js:2)
at cu (c99303d54843532af963.js:2)
at c99303d54843532af963.js:2
at t.unstable_runWithPriority (c99303d54843532af963.js:2)
at zi (c99303d54843532af963.js:2)
at Ji (c99303d54843532af963.js:2)
at Qi (c99303d54843532af963.js:2)
at iu (c99303d54843532af963.js:2)
at La (c99303d54843532af963.js:2)
at e (c99303d54843532af963.js:2)
at c99303d54843532af963.js:2
at Set.forEach (
I'm facing the same crash when calling overlayManager.OpenVoiceSettings
. The crash occurs on both Discord and Discord Canary.
Stack trace:
e05c848954f12890a5bc.js:2 ReferenceError: React is not defined
at a2478e68aa5c7b3b1077.js:2
at r.render (5f753b64b57f5ae4a84b.js:2)
at $a (5f753b64b57f5ae4a84b.js:2)
at Ja (5f753b64b57f5ae4a84b.js:2)
at Cs (5f753b64b57f5ae4a84b.js:2)
at Au (5f753b64b57f5ae4a84b.js:2)
at Iu (5f753b64b57f5ae4a84b.js:2)
at cu (5f753b64b57f5ae4a84b.js:2)
at 5f753b64b57f5ae4a84b.js:2
at t.unstable_runWithPriority (5f753b64b57f5ae4a84b.js:2)
at zi (5f753b64b57f5ae4a84b.js:2)
at Ji (5f753b64b57f5ae4a84b.js:2)
at Qi (5f753b64b57f5ae4a84b.js:2)
at iu (5f753b64b57f5ae4a84b.js:2)
at La (5f753b64b57f5ae4a84b.js:2)
at e (5f753b64b57f5ae4a84b.js:2)
at 5f753b64b57f5ae4a84b.js:2
at Set.forEach (<anonymous>)
at Function.r [as setState] (5f753b64b57f5ae4a84b.js:2)
at t.openModal (5f753b64b57f5ae4a84b.js:2)
at a2478e68aa5c7b3b1077.js:2
at new Promise (<anonymous>)
at Object.handler (a2478e68aa5c7b3b1077.js:2)
at 5f753b64b57f5ae4a84b.js:2
(anonymous) @ e05c848954f12890a5bc.js:2
Describe the bug Calling OpenVoiceSettings on the Overlay Manager of the Discord Game SDK crashes the Discord client.
Steps to reproduce Steps to reproduce the behavior:
Expected behavior An overlay opens in Discord
Screenshots See https://youtu.be/yQ8G4XwoyL8
Implementation specifics
Additional context The crash happens both in Canary and Stable. The Discord Game SDK does not output an error message. A while ago (begin February), it still worked, but at some point both versions stopped working. Hence it doesn't look that version specific.