Search Issue Tracker
Fixed in 10.1.0-preview.2
Votes
0
Found in [Package]
10.0.0 preview.27
Issue ID
1268147
Regression
Yes
[URP][Serialization] ArgumentOutOfRangeException errors are thrown on undoing after removing Render feature
ArgumentOutOfRangeException errors are thrown continuously on undoing after removing Render feature.
Steps to repro:
1. Create a new URP template project
2. Project Window > Click on "+" > Rendering.
3. Universal Render Pipeline > Forward Renderer > Add Renderer Feature.
4. Screen Space Ambient Occlusion > Remove > CTRL + Z.
Actual Result:
ArgumentOutOfRangeException errors in the console.
Expected Result:
No errors in the console.
Reproducible in:
2020.2.0a20 with Package version 10.0.0 preview.27.
Working Fine in:
2020.2.0a20 with Package version 9.0.0 preview.35.
Note: Package Version 10.0.0 preview.27. is available only in 2020.2.0a20.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stacktrace:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <fb001e01371b4adca20013e0ac763896>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <fb001e01371b4adca20013e0ac763896>:0)
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <fb001e01371b4adca20013e0ac763896>:0)
UnityEditor.Rendering.Universal.ScriptableRendererDataEditor.DrawRendererFeature (System.Int32 index, UnityEditor.SerializedProperty& renderFeatureProperty) (at library/packagecache/com.unity.render-pipelines.universal@10.0.0-preview.26/editor/scriptablerendererdataeditor.cs:98)
UnityEditor.Rendering.Universal.ScriptableRendererDataEditor.DrawRendererFeatureList () (at library/packagecache/com.unity.render-pipelines.universal@10.0.0-preview.26/editor/scriptablerendererdataeditor.cs:76)
UnityEditor.Rendering.Universal.ScriptableRendererDataEditor.OnInspectorGUI () (at library/packagecache/com.unity.render-pipelines.universal@10.0.0-preview.26/editor/scriptablerendererdataeditor.cs:57)
UnityEditor.Rendering.Universal.ForwardRendererDataEditor.OnInspectorGUI () (at library/packagecache/com.unity.render-pipelines.universal@10.0.0-preview.26/editor/forwardrendererdataeditor.cs:71)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <4a010c27075a4c2daedf3ee971af3236>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 10.1.0-preview.2):
Fixed in 10.1.0