Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shader Error when building project.
#2
(28-09-2022, 11:05 PM)atracktiv Wrote: Hi,

I'm using URP with OBI Rope, but I'm getting the well know Shader errors.
What could it be ?

See screenshot : http://tools.quadbyte.net/snap/Unity_sYu1pmaPFZ.png

Thanks in advance for your precious help.

Code:
Shader error in 'Obi/URP/Particles': Couldn't open include file 'Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl'. at Assets/Obi/Resources/ObiMaterials/URP/ObiLightingURP.cginc(3)

Shader error in 'Obi/URP/Simple Particles': Couldn't open include file 'Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl'. at Assets/Obi/Resources/ObiMaterials/URP/ObiLightingURP.cginc(3)

Hi!

If the file is there indeed, this means Unity cannot resolve "com.unity.render-pipelines.universal", which probably indicates URP is not correctly installed.
Which file path is shown by Unity when selecting Core.hlsl in the project?

[Image: mAF9IPS.png]
Reply


Messages In This Thread
RE: Shader Error when building project. - by josemendez - 29-09-2022, 08:24 AM