Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about LWRP in 5.0
#9
(23-11-2019, 08:28 PM)josemendez Wrote: SRP_LIGHTWEIGHT is a version define, created by the /Obi/Scripts/Obi.asmdef assembly definition file if com.unity.render-pipelines.lightweight version 6.0 or higher is present in the project. (You can check this yourself by selecting the Obi.asmdef file found in /Obi/Scripts/, and looking at the version defines section in the inspector).

So as long as you're using Unity 2019.2 or higher and LWRP 6.0 or higher, both precompiler constants should be defined, and the renderer feature compiled without issue.

Maybe your LWRP package is a lower version than 6.0? (or Unity got confused due to some other reason?)

Thanks for the response. LWRP is version 6.9. However this was part of an upgrade of an existing project to LWRP. One that had used Obi Fluid 4 (replaced with v5), so it's possible the compiler got confused in some other way. I tried it with a fresh LWRP project in Unity 2019.2.13 and didn't get any errors, so all is well. 

I just pulled up the fluid mill example, set up the LWRP with a custom forward renderer, dropped in the Obi renderer feature and it works beautifully, as below. Really great work getting this to work with the LWRP  Sonrisa

[Image: lwrp.jpg]
Reply


Messages In This Thread
Question about LWRP in 5.0 - by TheDopple - 21-11-2019, 05:06 PM
RE: Question about LWRP in 5.0 - by josemendez - 21-11-2019, 07:33 PM
RE: Question about LWRP in 5.0 - by TheDopple - 21-11-2019, 09:22 PM
RE: Question about LWRP in 5.0 - by josemendez - 22-11-2019, 11:19 AM
RE: Question about LWRP in 5.0 - by TheDopple - 22-11-2019, 04:49 PM
RE: Question about LWRP in 5.0 - by TheFlyHawk - 23-11-2019, 03:13 AM
RE: Question about LWRP in 5.0 - by darbycostello - 23-11-2019, 04:34 PM
RE: Question about LWRP in 5.0 - by josemendez - 23-11-2019, 08:28 PM
RE: Question about LWRP in 5.0 - by darbycostello - 23-11-2019, 09:41 PM
RE: Question about LWRP in 5.0 - by josemendez - 23-11-2019, 09:44 PM
RE: Question about LWRP in 5.0 - by AEAlmardenti - 17-02-2020, 11:38 AM