Search Issue Tracker

Fixed in 3.3.0

Votes

1

Found in [Package]

1.0.0

Issue ID

1041441

Regression

Yes

Using HDRP will cause a null reference exception when adding value to the Ratio of Particle System's Light property

Package: Scriptable Render Pipeline HD

-

How to reproduce:
1. Open user's attached project "Plexus.zip"
2. Open "SampleScene" scene and click on "Plexus" GameObject in the Hierarchy
3. In the Inspector window add some value (higher than 0) to the Ratio of Particle System's Light property

Expected result: The proportion of particles that will receive a trail is chosen
Actual Result: The null reference exception is thrown

Reproducible with: 2018.1.6f1, 2012.2.0b10, 2018.3.0a3
Not reproducible with: 2017.1.4p2, 2017.2.3p2, 2017.4.6f1

Error in the Editor:
UnityEngine.Experimental.Rendering.HDPipeline.LightLoop.PrepareLightsForGPU (UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Experimental.Rendering.ShadowSettings shadowSettings, CullResults cullResults, UnityEngine.Experimental.Rendering.HDPipeline.ReflectionProbeCullResults reflectionProbeCullResults, UnityEngine.Camera camera)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.