Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  [solved] ObiFluidRenderingFeature is not selectable
#3
(30-10-2020, 08:55 AM)josemendez Wrote: Hi,

Short answer: Make sure you have the minimal required URP version installed (7.4.1), as per the manual:
http://obi.virtualmethodstudio.com/tutor...ering.html

(I've recently recolored the message box that warns about this, it's now red instead of blue to make it pop up more)

Long answer:
If you open up ObiFluidRendererFeature.cs, you'll see a precompiler directive at the top:
Code:
#if UNITY_2019_2_OR_NEWER && SRP_UNIVERSAL

This means the entire ObiFluidRendererFeature file won't be compiled (hence won't appear in the dropdown) if either Unity is below 2019.2, or SRP_UNIVERSAL is not defined. SRP_UNIVERSAL is defined by the Obi assembly definition file (/Obi/Scripts/Obi.asmdef), as:

if (com.unity.render-pipelines.universal) >= 7.4.1, define SRP_UNIVERSAL

So: if we're in Unity < 2019.2 or if URP 7.4.1 or up is not installed, ObiFluidRendererFeature won't be available.

The reason for this version limitation is that around URP 7.4.1, shadow mapping was completely reimplemented (so that it's no longer garbage Guiño), and we had to choose between supporting the old shadow mapping or the new, much improved shadow mapping.

Thank you Jose.
The short answer is indeed the perfect help and the long answer is more than perfect answer for me to understand what the things are going.
Thank you so much for your quick and accurate help as always.
Reply


Messages In This Thread
RE: ObiFluidRenderingFeature is not selectable - by Snail921 - 30-10-2020, 05:46 PM