Reproduction steps:
1. Open the attached “BugRepro” project
2. Click File > Build
3. Open the terminal and change the directory to build the folder
4. Run the executable with -batchmode -nographics arguments
Expected result: Call stack is properly displayed
Actual result: There is no call stack
Reproducible with: 2020.3.45f1, 2021.3.18f1
Couldn’t test with: 2022.2.0a1 (Couldn’t downgrade), 2022.2.6f1, 2023.1.0b4, 2023.2.0a2 (Didn’t crash)
Reproducible on: Ubuntu 20.04