donaltrung Posted January 27 Posted January 27 (edited) Hello! I am using UNIGINE 2 Community (2.19.1.2) on Ubuntu 24.04.3 LTS. I want to run UNIGINE in the background without opening any windows. I tried setting the startup command-line options -main_window 0 -auto_quit 0 and added some logs in AppSystemLogic::update() to check if the engine is running. The program without a window does not exit immediately, but no logs appear, which suggests that the engine is not running. When I use only the option -auto_quit 0, I see the logs continuously while the window is open, but nothing appears when the window is closed. So it seems the engine does not run without a main window anyway. Can you help me with this? Edited January 27 by donaltrung
donaltrung Posted April 7 Author Posted April 7 It can be achieved with the startup command-line option -video_offscreen 1. Sorry for not noticing. By the way, in the newest SDK version, 2.21, the Launch button in the UNIGINE Browser automatically runs the program in headless mode. Editing launch_release.sh and launch_debug.sh to set -video_offscreen 0 does not help. Was this intentional? All of this happens on Ubuntu 24.04.4 LTS.
Recommended Posts