Search Issue Tracker
Fixed in 10.2.0
Votes
0
Found in [Package]
10.1.0, 10.0.0-preview.27
Issue ID
1286993
Regression
Yes
[HDRP] NullReferenceException thrown on creating new HDRPAsset in the "HD Render Pipeline Wizard" window
On creating a new HDRenderPipelineAsset from selecting Fix All button in the HD Render Pipeline Wizard causes Editor to throw NullReferenceException when Scriptable Render Pipeline is set to none in the Graphics Project Settings, Refer attached video.
Steps to repro:
1. Create a new project with HDRP Template
3. Edit > Project Settings > Graphics > Scriptable Render Pipeline Settings > None
4. Window > Render Pipeline > HD Render Pipeline Wizard
5. HDRP > Fix All > Create or Load HDRenderingPipelineAsset > Create One
6. Changing editor Graphics device > Not now
Actual Result:
NullReferenceException is thrown on creating new HDRenderPipelineAsset in the HD Render Pipeline Wizard
Expected Result:
New HDRenderingPipelineAsset is created gracefully
Reproducible in:
2020.2.0b9, 2020.2.0b6 with Package version 10.1.0, 10.0.0-preview.27
Working fine:
2021.1.0a2, 2020.2.0b5, 2020.1.11f1 with Package Version 9.0.0-preview.54, 8.2.0, 8.1.0
Environment:
Windows10 and macOS 10.15
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Rendering.HighDefinition.DecalSystem+DecalSet.InitializeMaterialValues () (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/runtime/material/decal/decalsystem.cs:383)
UnityEngine.Rendering.HighDefinition.DecalSystem+DecalSet..ctor (UnityEngine.Material material) (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/runtime/material/decal/decalsystem.cs:445)
UnityEngine.Rendering.HighDefinition.DecalSystem.AddDecal (UnityEngine.Material material, UnityEngine.Rendering.HighDefinition.DecalProjector+CachedDecalData data) (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/runtime/material/decal/decalsystem.cs:962)
UnityEngine.Rendering.HighDefinition.DecalProjector.OnEnable () (at library/packagecache/com.unity.render-pipelines.high-definition@10.1.0/runtime/material/decal/decalprojector.cs:329)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
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
Add comment