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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note (fix version 11):
Issue is fixed