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
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

No-Screen Unity Game?

Discussion in 'Editor & General Support' started by fct509, Aug 11, 2019.

  1. fct509

    fct509

    Joined:
    Aug 15, 2018
    Posts:
    49
    Is it possible to create a Unity based program that doesn't have a screen? By this, I mean, just build a game that will execute work to the GPU through compute shaders and then save the results without ever opening a window. Well, maybe a console window at worse, but like I said, I don't actually need a game screen.
     
  2. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    4,865
    You probably want to research the "batchmode".
    https://docs.unity3d.com/Manual/CommandLineArguments.html
     
  3. fct509

    fct509

    Joined:
    Aug 15, 2018
    Posts:
    49
    Thanks, I kind of had already figured out that it would be that. But, since I haven't gotten around to testing it, I didn't post anything. I was about to test it when I figured I should check the forum to see if anyone responded. That said, it's good to know that there's a good chance that I'm thinking along the correct lines before getting started.
     
unityunity