Search Issue Tracker
Fixed in 7.2.0
Votes
0
Found in [Package]
7.1.7, 7.1.5
Issue ID
1211730
Regression
Yes
[HDRP] NullReferenceException throw on adding the "Planer Reflection Probe" component when Render Pipeline Asset is none
Adding "Planer Reflection Probe" component causes the editor to throw NullReferenceException continuously when Render Pipeline Asset is none from the Project Settings, refer attached video.
Steps to repro:
1. Create a new project
2. Windows > Package Manager > High Definition RP > Install
3. Hierarchy > Create Empty GameObject
4. Add "Planner reflection Probe" component in the Inspector
Actual Result:
NullReferenceException is thrown on adding the "Planer Reflection Probe" component when Render Pipeline Asset is none.
Expected Result:
"Planer Reflection Probe" component is added without any errors.
Tested with Unity versions:
2020.1.0a19, 2019.3.0f6, 2019.3.0b4
Package found version: 7.1.7, 7.1.5
Package working fine version: 7.1.2
Environment:
Windows 10 & macOS 10.14
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Rendering.HighDefinition.HDEditorUtils.DrawLightLayerMask (UnityEngine.Rect rect, System.Int32 value, UnityEngine.GUIContent label) (at library/packagecache/com.unity.render-pipelines.high-definition@7.1.7/editor/renderpipeline/hdeditorutils.cs:238)
UnityEditor.Rendering.HighDefinition.HDEditorUtils.DrawLightLayerMask_Internal (UnityEngine.Rect rect, UnityEngine.GUIContent label, UnityEditor.SerializedProperty property) (at library/packagecache/com.unity.render-pipelines.high-definition@7.1.7/editor/renderpipeline/hdeditorutils.cs:224)
UnityEditor.Rendering.HighDefinition.LightLayerEnumPropertyDrawer.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at library/packagecache/com.unity.render-pipelines.high-definition@7.1.7/editor/core/lighting/lightlayerenumpropertydrawer.cs:16)
UnityEditor.PropertyDrawer.OnGUISafe (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <b9bb103d86cd4249b6a1c8b6aa2850c7>:0)
UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.Rect visibleArea) (at <b9bb103d86cd4249b6a1c8b6aa2850c7>:0)
UnityEditor.GenericInspector.OnOptimizedInspectorGUI (UnityEngine.Rect contentRect) (at <b9bb103d86cd4249b6a1c8b6aa2850c7>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <b9bb103d86cd4249b6a1c8b6aa2850c7>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on PrepareDrawShadowsCommandStep1 when entering the Play Mode in a specific project
- Physics Layer Collision Matrix's Layer names, checkboxes and hover highlights become misaligned when the Editor's UI Scaling gets changed
- Light/shadow information on an edge of a Terrain tile creates a seam with an adjacent Terrain tile when baking a LightMap
- "Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings..." warning is thrown after switching the Platform to tvOS
- “Metal: Error creating pipeline state (Universal Render Pipeline/2D/Sprite-Lit-Default): Vertex attribute BLENDINDICES0(5) of type uint4 cannot be read using MTLAttributeFormatFloat2 (null)“ when setting GPU Skinning to GPU after opening the project
Add comment