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
- Crash on UnityMain when switching from DX11 to DX12 with HDR enabled
- Player gets a grey filter over the whole window when Player is in Exlcusive window mode and HDR is enabled
- Missing VisionOS "Target minimum VisionOS Version" Field in the Project Settings window
- External Script Editor preference resets to last set IDE when switching Unity Editor versions
- Unnecessary horizontal scrollbar appears at the bottom of the Multiplayer Play Mode window
Resolution Note (fix version 11):
Issue is fixed