Question

Running a Unity game

I have a Unity game and for server side cheat protection I have written the server inside Unity. So you actually have to run a Unity game in order to start the server. I was curious about what would happen if i tried to run it on a compute server since it doesn’t have a GPU. Would it work?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

You can build unity app as a headless server that wont render any graphics.

I’m not sure about the specifics of Unity, but it would probably work. I have some doubts about the performance though.

As a weird little test project, I actually tried running DOOM on a Droplet with 1 CPU core a while back (over VNC for the graphics). It was really laggy, but ended up pretty smooth once I upped it to 2 cores.

Don’t know if that’s helpful, but it gives you a baseline of what you need to run a very simple game with 3D graphics.

It would work but it’d be extreamly slow.