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
- Changing "PreWarm" parameters on VFX Graph leads to significant performance drops and freeze
- Player display resolution changes to the native resolution of the monitor when Player becomes unresponsive
- [Quest] Game View is no longer rendered in the HMD if it's hidden in the Editor when using Meta Link
- Unity auto-generates code it can't compile when classes are renamed
- Terrain's "Grass Tint" Color picker has Alpha 0 by default
Resolution Note (fix version 11):
Issue is fixed