Search Unity

  1. Unity 2019.2 is now released.
    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:
    24
    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,140
    You probably want to research the "batchmode".
    https://docs.unity3d.com/Manual/CommandLineArguments.html
     
  3. fct509

    fct509

    Joined:
    Aug 15, 2018
    Posts:
    24
    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.