Search Issue Tracker

Fixed in 1.0.4

Votes

0

Found in [Package]

0.5.0-preview.1

Issue ID

1288768

Regression

Yes

[Profile Analyzer] Error is thrown and the Data is unloaded when Selecting Frames from Markers while Data is being compared

Package: Profile Analyzer

-

How to reproduce:
1. Open the attached "ProfileAnalyzer" project
2. Open the Profiler (Window->Analysis->Profiler)
3. Open the Profile Analyzer (Window->Analysis->Profiler)
4. Record some data in the Profiler
5. In the Profile Analyzer window go to the Compare section and Pull Data into both slots
6. In the Profiler clear the data and record some new data (over 2000 frames are recommended so it would be easier to reproduce the issue)
7. In the Profile Analyzer window Pull Data only into the second slot
8. After data is loaded in while it's comparing (indicated by the white loading bar) right-click on the first Marker name and select the first option ("Select Frames")

Expected results: No errors are thrown
Actual results: The "IndexOutOfRangeException: Index was outside the bounds of the array." error is thrown, data in the second slot is unloaded

Reproducible with: 0.5.0-preview.1, 1.0.3 (2018.4.28f1, 2019.4.14f1, 2020.1.12f1, 2020.2.0b10, 2021.1.0a4)
Not reproducible with: 0.4.0-preview.6 (2018.4.28f1, 2019.4.14f1, 2020.1.12f1, 2020.2.0b10, 2021.1.0a4)

Notes:
- Pulling the same data into the slot that already is in that slot won't reproduce the issue
- The issue happens only when the data is being compared after loading in the data, trying to select the frames after pressing the "Compare" button won't reproduce the issue
- The issue is only reproducible when choosing any of the frame selection options (the first 3 options) when right-clicking, any other option will not reproduce the issue

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.