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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 11):
Issue is fixed