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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
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?