Search Issue Tracker
Fixed in 10.2.0
Votes
0
Found in [Package]
10.1.0
Issue ID
1287294
Regression
Yes
[HDRP] NullReferenceException thrown on creating "Diffusion Profile" in the Project window
On creating "New Diffusion Profile" from Rendering in the Project window causes editor to throw NullReferenceException, Refer attached video
Steps to repro:
1. Create a new project with HDRP Template
2. Window > Package Manager > High Definition RP > Upgrade to 10.1.0
3. Project window > Create > Rendering > Diffusion Profile
Actual Result:
NullReferenceException is thrown when Diffusion Profile is created in the Project window
Expected Result:
Diffusion Profile is created without any exception
Reproducible in:
2020.2.0b9 with package version 10.1.0
Working fine in:
2020.2.0b9, 2020.1.11f1 with package version 10.0.0-preview.27, 9.0.0-preview.54, 8.2.0
Environment:
Windows10 and macOS 10.15
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Rendering.HighDefinition.DiffusionProfileSettings.Reset () (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/runtime/material/diffusionprofile/diffusionprofilesettings.cs:235)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Resolution Note (fix version 10.2.0):
Fixed in HDRP 10.2.0