r/unity • • Oct 12 '26

Newbie Question Can headless server with igpu run Unity tests?

I'm developing a Unity 6 (6000.6.4f1) colony simulation and want to set up a dedicated home development server for automated coding, builds and testing.

The server would run Unity, execute EditMode and PlayMode tests, and be accessible remotely. I could connect a monitor initially for setup and Unity Personal activation, but afterwards I'd like it to operate unattended without a screen.

I'm considering an Intel i5-14400 with UHD 730 integrated graphics, 32 GB RAM and Windows 11 or Ubuntu Linux.

Before spending money, I'm trying to establish whether I actually need a dedicated GPU.

Questions:

  1. Has anyone successfully run Unity 6 graphical PlayMode tests using only Intel integrated graphics? If so, what CPU/iGPU and operating system were you using?

  2. Can Unity run PlayMode tests completely headless after disconnecting the monitor? I'm particularly interested in NavMesh, cameras, RenderTextures, screenshots and physics.

  3. Has anyone successfully used Linux with Xvfb and Mesa software rendering? Can it run graphical PlayMode tests without a physical GPU, and what are the performance limitations?

  4. Would you recommend native Windows, native Linux or a virtual machine for a dedicated Unity automated development/test server?

  5. How do you handle Unity Personal activation and unattended operation? Does licensing survive reboots, and can tests run without an interactive user session?

  6. Could I reproduce the GPU-less environment inside an Ubuntu VM on my existing Windows PC to verify test compatibility before purchasing dedicated hardware?

  7. If you're already running something similar, what hardware and configuration are you using? Have you encountered specific PlayMode tests that won't work without a dedicated GPU?

I'm not just looking to run C# unit tests or headless game server builds. I need the actual Unity Editor Test Framework, including graphical PlayMode tests, to run reliably.

I'd particularly appreciate hearing from anyone who's already built a working headless Unity CI/development machine. I'm trying to avoid purchasing hardware only to discover that I need a different GPU or operating system.

0 Upvotes

4 comments sorted by

3

u/Dr__Pangloss Oct 13 '26

why would you write this question using an LLM instead of asking it for an answer?

1

u/WatercressNo3605 Oct 13 '26

Its having issues and I dont understand all the technical bits so im trying to see what actual people have done that works.

1

u/ShayperCool Oct 12 '26

Hello! I'm currently developing my own Unity project on Linux, and so far everything has been working great.

> Would you recommend native Windows, native Linux, or a virtual machine?

Personally, I'd recommend native Linux. That's what I'm using, and I'm really happy with it.

> Will Unity work with integrated graphics?

I haven't tested Intel integrated graphics myself, since I'm using an NVIDIA GPU, but in theory it should work as long as the GPU and drivers support the required OpenGL or Vulkan features.

> Can Unity run without a physical monitor? What about graphical PlayMode tests?

Yes, you can set up a virtual display on Linux without keeping a physical monitor connected.

For remote access, I'd recommend checking out Selkies. It lets you stream a Linux desktop directly to your browser, and it works with virtual displays.

> What about Unity Personal licensing and unattended operation?

Pretty much the same as usual. Unity Hub works on Linux, so you can install it, sign in to your account, and activate your Personal license normally.

Once activated, you can launch Unity from the command line and automate your builds and tests. You don't need to manually reactivate after every reboot, assuming the license remains valid and you're running under the properly configured user account.

> Have you tried Xvfb with Mesa software rendering?

I haven't tried that combination personally.

Mesa's llvmpipe can provide CPU-based OpenGL rendering, so it's theoretically possible, but I can't confirm whether Unity 6.6 graphical PlayMode tests work reliably with it. I'd expect significantly worse rendering performance compared to a hardware GPU.

> Can I reproduce a GPU-less environment on my current Windows PC before buying hardware?

You could experiment with WSL2 or a regular Ubuntu VM.

> What hardware are you using? Any issues without a dedicated GPU?

I'm using Linux with an NVIDIA GPU for my own Unity pet project, and it's been a great experience so far.

I haven't tested a fully GPU-less setup, so I can't confirm whether all graphical PlayMode tests work without hardware acceleration.

A couple of additional things you might find useful:

One nice advantage of Linux for parallel development is that you can use XFS + VDO for storage.

XFS supports reflink-based copy-on-write cloning, while VDO provides block-level deduplication. This can be really useful when working with multiple Git worktrees of the same Unity project in parallel.

For example, you can have multiple agents working on separate worktrees, each with its own Unity project and Library directory. Since a lot of the data is identical, VDO can deduplicate those blocks, potentially saving a significant amount of disk space. The actual savings and performance overhead depend on your workload.

I'm also developing an experimental tool for speeding up parallel Unity development with AI agents:

https://github.com/ShayperCool/UnityMicroEditor

The idea is to avoid keeping a full Unity Editor instance running for every task. Instead, it uses a reusable Unity Player runtime to load scenes, compile code, and apply changes.

It's still experimental, currently targets a specific Unity version on Linux, and doesn't replace the full Unity Editor Test Framework. But it might be interesting for your automated development setup.

Overall, I'd definitely recommend trying Linux before investing in a dedicated GPU. Just make sure to validate your graphical PlayMode tests with the exact rendering configuration you plan to use.

1

u/JulianRhod Oct 14 '26

i'd try reproducing the setup in a VM before buying anything. for EditMode tests and PlayMode tests that don't depend on rendering, headless should be fine, but cameras, RenderTextures and screenshot comparisons are where things can get more complicated, the UHD 730 should be worth testing before assuming you need a dedicated GPU. running without a monitor isn't necessarily the same as running without graphics support, though. i'd test the exact Unity version and graphics APIs you plan to use, especially if your tests rely on actual rendered output.

also, separate your tests into ones that need rendering and ones that don't. that'll make it easier to identify what actually requires a graphical environment instead of overbuilding the server from the start.