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
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
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?