Search Issue Tracker

Fixed

Votes

0

Found in

2022.2.0a6

2023.1.0a4

Issue ID

UUM-10044

Regression

Yes

Changing Render Object Name field results in exception

-

Steps to reproduce
# Open a new Unity project
# Install URP (if not creating from a template)
# Select any URP Renderer asset
# Click Add Renderer Feature in the Inspector
# Select Render Objects (Experimental)
# Change the value in the Name field

Expected result: the name is changed with no errors

Actual result: an error is thrown
{code:java}
ArgumentNullException: Value cannot be null.
Parameter name: _unity_self
UnityEditor.Rendering.Universal.ScriptableRendererDataEditor.DrawRendererFeature (System.Int32 index, UnityEditor.SerializedProperty& renderFeatureProperty) (at Library/PackageCache/com.unity.render-pipelines.universal@14.0.0/Editor/ScriptableRendererDataEditor.cs:188)
UnityEditor.Rendering.Universal.ScriptableRendererDataEditor.DrawRendererFeatureList () (at Library/PackageCache/com.unity.render-pipelines.universal@14.0.0/Editor/ScriptableRendererDataEditor.cs:83)
UnityEditor.Rendering.Universal.ScriptableRendererDataEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.render-pipelines.universal@14.0.0/Editor/ScriptableRendererDataEditor.cs:64)
UnityEditor.Rendering.Universal.UniversalRendererDataEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.render-pipelines.universal@14.0.0/Editor/UniversalRendererDataEditor.cs:184)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass62_0.<CreateIMGUIInspectorFromEditor>b__0 () (at /Users/bokken/buildslave/unity/build/Editor/Mono/UIElements/Inspector/InspectorElement.cs:651)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189){code}
Reproducible with: 2022.2.0a6, 2023.1.0a4

Not reproducible with: 2022.2.0a5

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.