Search Issue Tracker
Fixed in 11
Votes
0
Found in [Package]
8.1.0, 9.0.0-preview.55, 10.0.0-preview.26
Issue ID
1284384
Regression
Yes
[URP] IndexOutOfRangeException thrown on undo Reset function on 2D Renderer Data after changing the selection
IndexOutOfRangeException thrown on undo Reset function on 2D Renderer Data after changing the selection. After Reset change the selection and undo the changes leads to the exception
Steps to Repro:
1. Create a new Project in URP Template
2. Create Project > right-click > Rendering > Universal RenderPipeline > 2D Renderer (Experimental)
3. Select Project > New 2D Renderer Data > Inspector > Burger Button > Reset
4. Change the selection and select the Project > ReadMe
5. Press Ctrl+Z or Edit > Undo and repeat it 2-3 times
Expected Result:
Previous values of the 2D Renderer Data should be set
Actual Result:
IndexOutOfRangeException is thrown
Reproducible on: 2021.1.0a1, 2020.2.0b7, 2020.1.9f1 with(8.1.0, 10.0.0-preview.26, 9.0.0-preview.55)
Working Fine on: 2019.4 with 7.5.1 (Reset functionality is disabled)
Environment: Windows 10
Stack Trace:
IndexOutOfRangeException: Index was outside the bounds of the array.
UnityEditor.Experimental.Rendering.Universal.Renderer2DDataEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.render-pipelines.universal@8.1.0/Editor/2D/Renderer2DDataEditor.cs:132)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <102e2bd0aecb44b4a94d16cc05249817>:0)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler()
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
- Domain Reload loading popup is dark when Editor Theme is set to "Light"
- Scene Views breaks and errors are spammed in the Console when the Game view is shrunk vertically to the minimum, and the Aspect Ratio is 16:9 or 16:10
- Slider Fill Area disappears after undoing “Set Native Size” change
- Crash with multiple stack traces when playing video on a render texture with low-end graphics devices
- Circle handle of the Game view scale slider bar disappears when the scale is set to 1x
Resolution Note (fix version 11):
Issue is fixed