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
- 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
Add comment