Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2021.2.0a5
2021.2.0a7
Issue ID
1318290
Regression
Yes
[Profiler] ArgumentOutOfRangeException has thrown clicking the "Delete Module" button
Editor thrown ArgumentOutOfRangeException on clicking the "Delete Module" button, refer to the attached video
Steps to repro:
1. Create a new Project.
2. Window > Analysis > Profiler
3. Open Profiler Module dropdown
4. Click on the Setting icon
5. Profiler Module Editor window > Add > Delete Module > Click
Actual result: ArgumentOutOfRangeException has thrown clicking the "Delete Module" button
Expected result: No error in the console
Reproducible in:
2021.2.0a7, 2021.2.0a5
Working Fine in:
2021.2.0a4, 2021.1.0b9
Environment:
Windows 10, macOS 10.15, and Ubuntu 18.04 LTS
Stack trace:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <695d1cc93cca45069c528c15c9fdd749>:0)
UnityEditor.Profiling.ModuleEditor.ModuleListViewController.OnListViewSelectionChange (System.Collections.Generic.IEnumerable`1[T] selectedItems) (at /home/bokken/buildslave/unity/build/Modules/ProfilerEditor/ProfilerWindow/ModuleEditor/ModuleListViewController.cs:105)
UnityEngine.UIElements.ListView.NotifyOfSelectionChange () (at /home/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/Controls/ListView.cs:1298)
UnityEngine.UIElements.ListView.Refresh () (at /home/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/Controls/ListView.cs:1506)
panel) (at /home/bokken/buildslave/unity/build/External/MirroredPackageSources/com.unity.ui/Core/Events/MouseCaptureDispatchingStrategy.cs:83)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment