Question by
chenyuchih · May 23, 2016 at 08:19 PM ·
linux
How to close Unity Linux Headless Server gracefully
I want to do some job when the server is closing. But in linux, headless server seems just be terminated after receive 'SIGINT (ctrl-c)'.
Mono UnixSignal seems not shipped with Unity. Are there other official ways to do this?
Or I just hijack the SIGINT signal in native layer, and reverse call c# Apllication.Quit?
Comment
Your answer
Follow this Question
Related Questions
Linux support 3 Answers
[Unity 5.6] Window -> Lighting -> Scene doesn't exist for me 1 Answer
Linux Scroll Wheel not working when using Cursor Lock. 0 Answers
[Linux Editor] Change player to Vulkan before OpenGL will get you stuck in Unity crashing on startup 0 Answers
Particles become black squares on linux 0 Answers