Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AfterShadowMapPass
#1
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?
Reply
#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
#3
(05-01-2018, 09:45 AM)josemendez Wrote: 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.

Yes. It working now. Thanks
Reply