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
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
Add comment