Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2020.3.X, 2021.1.X

Votes

0

Found in

2018.4

2019.4

2020.2

2021.1

2021.2

2021.2.0a4

Issue ID

1315468

Regression

No

[Profiler] ArgumentOutOfRangeException gets thrown in the Console when folding a large amount of entries

Profiling

-

How to reproduce:
1. Create a new project
2. Open Window > Analysis > Profiler
3. Set the Profiler target to Editor and capture some data
4. In the Frame Chart select one of the spiky frames
5. Set the Module details panel view to 'Hierarchy'
6. Select the top entry in the details
7. Hold the right arrow key to expand all the data
8. Once all the data is expanded, hold the left arrow key to fold all the data

Expected result: Data is folded, no visible errors present
Actual result: The 'ArgumentOutOfRangeException' gets thrown in the Console

Reproducible with: 2018.4.32f1, 2019.4.20f1, 2020.2.6f1, 2021.1.0b8, 2021.2.0a6

Notes:
-The issue is reproducible when the Module details panel view is set to Hierarchy or Raw Hierarchy
- The following error appears in the Console:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a16

  2. Resolution Note (fix version 2021.1):

    Fixed 2021.1.9f1

  3. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.14f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.