Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AfterShadowMapPass
#2
(05-01-2018, 07:15 AM)Shreeya Wrote: Error message >> Assets/Obi/Rendering/ShadowmapExposer.cs(21,38): error CS0117: `UnityEngine.Rendering.LightEvent' does not contain a definition for `AfterShadowMapPass'

How to correct this error?

Hi,

This error only happens in older Unity versions (<5.6), where this enum didn't exist yet. Unity 5.6 is the minimum required for Obi to work properly, as stated in the Asset Store. You can bypass this by deleting ShadowmapExposer.cs entirely as it is only used for very specific scenarios where you need fluid self-shadowing. However you might hit further problems down the road after this one.

I recomend updating Unity to one of the supported versions.
Reply


Messages In This Thread
AfterShadowMapPass - by Shreeya - 05-01-2018, 07:15 AM
RE: AfterShadowMapPass - by josemendez - 05-01-2018, 09:45 AM
RE: AfterShadowMapPass - by Shreeya - 06-01-2018, 12:48 AM