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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Add comment