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
- Terrain Tree cast Realtime and Baked shadows simultaneously when "Mixed" Light mode and "Subtractive" Baked Illumination is used in Edit mode
- OnPostprocessAllAssets() is not called for a modified Prefab when another Asset is set Dirty in the same callback
- [Android] UIToolkit ClickEvent is fired when the device is rotated
- Compilation errors occur when "uintBitsToFloat(int)" gets used in OpenGLES
- User Reporting does not send reports when Managed Stripping Level is set to Low or higher
Resolution Note (fix version 10.1.0-preview.2):
Fixed in 10.1.0