- Home /
Pink objects with -batchmode -nographics
Hi,
I'm trying to build a game project on a headless server running Windows7. As seen in the documentation I need to use -nographics and -batchmode.
When I do so, the game build with no error in the log file, but my objects appear to be pink (like if there is a shader problem).
How can I do to build my game on a headless server?
Is it even possible to have a correct build without GPU?
FYI: I try to build a very simple project (a rotating cube with a blue diffuse material) for web player.
Just as a quick question. How can something running headlessly have "pink" materials?
It does not run headlessly. I use a headless builder to generate a player that I can download and play on my local machine later (the one with a monitor :)).
Ah yes, I understand now ;)
I'm pretty sure none of the Unity editor's build process uses the GPU, so theoretically should work. It might be a bug. Since most of us don't have access to a headless Windows7 server with the Unity Editor installed, so contacting Unity will probably get you a faster answer unless someone has had the same problem before :)
Ho I guess you're right (also there is few materials about Unity commandline online :(). Do you know where I could join the Unity support without being redirected here or forums?
Answer by MadDave · Feb 24, 2014 at 02:39 PM
There was a bug in the windows version. Had the same problem, reported it... it has been fixed in 4.3.3
Your answer
![](https://koobas.hobune.stream/wayback/20220613120220im_/https://answers.unity.com/themes/thub/images/avi.jpg)