- Home /
URP server build
Hi guys
I made a simple URP unity project. running the project in the editor works fine and all is great. Building the project to window using Server build and running the .exe file gives the following errors
ERROR: Shader Hidden/Universal Render Pipeline/Blit shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Hidden/Universal Render Pipeline/CopyDepth shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Hidden/Universal Render Pipeline/ScreenSpaceShadows shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Hidden/Universal Render Pipeline/Sampling shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Hidden/Universal Render Pipeline/LutBuilderLdr shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Hidden/Universal Render Pipeline/LutBuilderHdr shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Hidden/Universal Render Pipeline/UberPost shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
ERROR: Shader Hidden/Universal Render Pipeline/Stop NaN shader is not supported on this GPU (none of subshaders/fallbacks are suitable)
And the build doesn't execute any of my code, not even simple log statements.
what am I doing wrong?
thanks in advance
Answer by ExtremeCheddar · Nov 15, 2020 at 12:24 PM
I got the same problem and found a solution that worked for me:
Go into the project settings / Graphics section and set the pipeline asset ('Scriptable Render Pipeline Settings') to none before building.
All errors will be gone!
You can also check if GraphicsSettings.renderPipelineAsset is null to run some code automatically.
Set it back to the default render pipeline asset and disable server build if you want to build the game as usual.