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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 10.2.0):
Fixed in HDRP 10.2.0