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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment