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
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
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?