Today in debugging: I just tracked down a Wine/Proton bug that randomly breaks any Unity app/game that uses (managed) threads.
RE: https://vt.social/@lina/115976596526464609
Brought to you by "reverse engineering" the Unity Mono dll to match it up with the public bdwgc source code, and then patching the symbols back in with objcopy --add-symbol, to get proper stack traces and watchpoints to work in MinGW gdb.exe ^^;;
Also had to patch the dll to enable GC debug logs and warnings (which are hardcoded off in the build...)