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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 10.2.0):
Fixed in HDRP 10.2.0