Search Issue Tracker
Fixed
Fixed in 2022.3.57f1, 6000.0.34f1, 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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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?