Search Issue Tracker
Fixed in 2022.3.57f1
Fixed in 2022.3.X, 6000.0.X, 6000.1.X, 6000.1.0a9
Votes
0
Found in
2021.3.46f1
2022.3.52f1
6000.0.27f1
6000.1.0a4
Issue ID
UUM-87122
Regression
No
"OnApplicationQuit()" is not called and logger debug lines are missing in Player Log When exiting Mac Dedicated Server
Reproduction steps:
1. Open the attached project “Repro.zip“
2. Open the scene “SampleScene“
3. Build the Mac Dedicated Server
4. Open the Terminal, go to the build folder using command “cd /path/to/the/build/folder“
5. Use this command to launch the server and save the player.log: “./buildName -logfile SomePath/player.log“
6. Stop the server with Control+C key combination
6. Observe the result in saved player.log
Expected result: Custom debug lines of OnApplicationQuit() method from the Logger.cs script are saved in the player.log
Actual result: Custom debug lines are not saved in the player.log
Reproducible in: 2021.3.46f1, 2022.3.52f1, 6000.0.27f1, 6000.1.0a4
Reproducible on: macOS 14.6.1 (M1 Pro)
Not reproducible on: Windows 11
Note: Only reproducible on macOS
Comments (2)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
cristianm_unity
Mar 07, 2025 17:36
> Does this fix OnApplicationQuit() for both SIGINT and SIGTERM on macOS?
It should be fixed, but keep in mind that this is only for the Dedicated Server builds.
JustinTArthur
Mar 06, 2025 17:57
Does this fix OnApplicationQuit() for both SIGINT and SIGTERM on macOS?