Hi
We switched our project to using HDRP shaders a while back and now want to be able deploy our application using docker on a server that does not have a monitor connected it. Our aim is to run simulations in the background and capture images from the simulation, so its not necessary to render to screens.
We are using unity editor 2019.04 on a windows environment and produce Linux server builds from here for ubuntu 18.04. We set the graphics options to use VULKAN only and generate a server build which we include in our docker container, but we keep on getting the following error when running the application from the container:
“HDRP shader not supported on GPU.”
The application seems to work fine if we do not perform server build and runs without a monitor attached when accessing the machine via a VNC setup (i.e. no docker container involved.). The machine has an NVIDIA graphics card which does support Vulkan. We are only experiencing this issue from server builds, while running within a docker container on the same machine without a monitor attached.
We have performed all our checks on the docker container and have made the NVIDIA GPU available to the container through the NVIDIA container toolkit. This all seems to work fine as we can successfully query the GPU via nvidia-smi command.
So is it possible to run unity applications with HDRP shaders as server builds (headless mode)? if so any link to how to achieve this would be helpful?
Thanking you in advance for any help or advice offered.