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?
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!
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.
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.
Want to learn more? Join the DigitalOcean Community!
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Sign up now
It would work but it’d be extreamly slow.