Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Shader Error in Obi Fluid 7.0.4 with Unity 2023.1.3f1 (URP 2D)
#1
Triste 
Hi,

I am using Obi Fluid 7.0.4 in Unity 2023.1.3f1 with Universal 2D, and I encountered the following error message:


Code:
Shader error in 'Shader Graphs/IndirectTransparent': 'OUTPUT_SH': Too few arguments to a macro call. 

at Assets/Obi/Resources/ObiMaterials/Fluid/ObiLightingURP.cginc(79)


This causes the transparent fluid to not display correctly.

If I comment out the code, the fluid seems to display correctly, but something appears to be missing.
However, in the RollingFriction example, the stone becomes invisible after commenting it out.

Before commenting:

[Image: 1ALR-cbfyiQtxfQIttlQl9XNj0B_glag9]

After commenting:

[Image: 1xew-Xbj2OkhccoQQHU1_Pet6sLSFZTtN]
[Image: 1xVASWuV7mlT75j3JQeXWXZidO70CZBtY]

Any insights or solutions would be greatly appreciated.

Thank you!
Reply


Messages In This Thread
Shader Error in Obi Fluid 7.0.4 with Unity 2023.1.3f1 (URP 2D) - by robertye - Yesterday, 09:43 AM