Obi Official Forum
Help Shader error in 'Obi/URP/Simple Particles' - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Help Shader error in 'Obi/URP/Simple Particles' (/thread-2889.html)



Shader error in 'Obi/URP/Simple Particles' - hitchhikers - 23-04-2021

Hi! 

I seem to have trouble with building my unity project and I don't really understand why.

I'm using oculus quest and photon 2 and the project had no problems before I tried to add a rope to the game.

I got these error messages:

Shader error in 'Obi/URP/Simple Particles': failed to open source file: 'Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl' at Assets/Obi/Resources/ObiMaterials/URP/ObiLightingURP.cginc(5) (on gles)
Shader error in 'Obi/URP/Simple Particles': failed to open source file: 'Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl' at Assets/Obi/Resources/ObiMaterials/URP/ObiLightingURP.cginc(5) (on gles3)
Shader error in 'Obi/URP/Simple Particles': failed to open source file: 'Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl' at Assets/Obi/Resources/ObiMaterials/URP/ObiLightingURP.cginc(6) (on gles)
Shader error in 'Obi/URP/Simple Particles': failed to open source file: 'Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl' at Assets/Obi/Resources/ObiMaterials/URP/ObiLightingURP.cginc(6) (on gles3)
Shader error in 'Obi/URP/Simple Particles': failed to open source file: 'Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl' at Assets/Obi/Resources/ObiMaterials/URP/ObiLightingURP.cginc(7) (on gles)
Shader error in 'Obi/URP/Simple Particles': failed to open source file: 'Packages/com.unity.render-pipelines.universal/Shaders/LitInput.hlsl' at Assets/Obi/Resources/ObiMaterials/URP/ObiLightingURP.cginc(7) (on gles3)

How do I fix this?

Thank you 




RE: Shader error in 'Obi/URP/Simple Particles' - josemendez - 23-04-2021

Are you using URP? if not, you don't need the URP shaders in your project (they won't compile anyway). You can remove the entire Obi/Resources/ObiMaterials/URP folder.


RE: Shader error in 'Obi/URP/Simple Particles' - hitchhikers - 23-04-2021

It works now thank you very much Gran sonrisa