Build failing- Shader Error in Hidden/PostFX/

Hey all. Today I tried to publish a build for the first time. Everything works fine when I preview the game, but whenever I try to build I get a bunch of errors like “Shader Error in 'Hidden/PostFX/blahblah…”. Does anyone know how to fix this?

Same. Can’t open source for any of the shaders in the Post Processing Stack. To fix this, leave the PostProcessing directory in the root of the Assets folder. I know, this sucks.

If you don’t want to do that, click on each error in the console and edit the shader to remove the path like this:

change Shader “Hidden/Post FX/Grain Generator” to Shader “Grain Generator”

Also, you have to rename Uber.shader to Uber Shader.shader.

Additionally, you have to edit PostProcessingBehaviour.cs and edit the following two references to remove the old path:

line 199: var uberMaterial = m_MaterialFactory.Get(“Hidden/Post FX/Uber Shader”);
line 248: ? m_MaterialFactory.Get(“Hidden/Post FX/FXAA”)

Clicar em>Project>Clicar no path/caminho raiz"assets">Clicar em PostProcessing>Show in Explorer>

já no explorer apagar a pasta"PostProcessing" e todos os .meta files>Voltar ao Unity3D>esperar para o Unity actualizar as bibliotecas/refresh>

dentro de Unity>ir na aba"Asset Store"> Procurar pelo asset"Post Processing Stack"“Post Processing Stack | Essentials | Unity Asset Store”>

isso vai importar este mesmo asset novamente com o unity3d(Mas actualizado) v2.0> devera ter resolvido todo o problema!> Abraços! <3