42 Minutes Ago
Disable Discord in CoreCLR builds Discord SDK callbacks fail fast in CoreCLR players ("Failed to setup new thread during reverse P/Invoke"), taking the client down, so CoreCLR builds turn Discord off until its integration is fixed for that runtime. Unity's Mono builds don't define ENABLE_CORECLR, so main's builds keep Discord. Cherry-picked unchanged from unity_6.7.0's changeset 170207 (0b3f6e154b3, "Disable Discord in CoreCLR builds (needs fixing)"). (cherry picked from commit 0b3f6e154b377e481acfedcdecbfa31063f4347b) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>