Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

How to run unity in batchmode with graphics?

Discussion in 'Linux' started by JovanD, Oct 15, 2019.

  1. JovanD

    JovanD

    Joined:
    Jan 5, 2014
    Posts:
    206
    I have a "game" that listens to http request on a port and than builds a 3d model based on the request, takes a screenshot of it and responds to that request with a picture of the model.
    In desktop mode it runs fine, but desktop mode is kinda unstable and i need to have the game running all the time, so i figured my best bet would be to run system in text mode, but the game always crashes when i try to run it in batchmode.


    I tried a "headless mode" build, it runs, but it responds with a gray picture and than crashes, so im guessing that graphics are disabled in headless mode.

    Game is build on Unity 2017.2 and im running Debian 10, my graphics card is radeon HD 3870 with open source amd driver.

    Do i need to install additional things? Build on newer version of Unity?
    Any help would be much appreciated.
     

    Attached Files:

    Last edited: Oct 15, 2019
unityunity