Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X

Votes

0

Found in

2021.2.0a17

2021.2.0b1

2022.1

Issue ID

1347205

Regression

Yes

IndexOutOfRangeException raised in Module Editor when updating a module after a domain reload

Profiling

-

How to reproduce:
1. Create a new project using the default 3D template
2. Open the Profiler window (Window->Analysis->Profiler)
3. In the Profiler window, select the 'Profiler Modules' dropdown menu
4. In the dropdown menu, click the cog icon
5. In the opened Profiler Module Editor, add a new module (by clicking the bottom-left 'Add' button)
6. Add a single counter from the 'Available Counters' list
7. Click 'Save Changes'
8. Navigate to the Profiler Module Editor again
9. Enter the Play Mode
10. Add a counter again to the previously created module

Expected result: There are no errors thrown
Actual result: "IndexOutOfRangeException: Unable to update module 'New Profiler Module 1' at index '-1'." error is thrown

Reproducible with: 2021.2.0a17, 2021.2.0b2, 2022.1.0a2
Not reproducible with: 2019.4.28f1, 2020.3.14f1, 2021.1.14f1, 2021.2.0a16

  1. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in Unity 2022.1.0a3 and above

  2. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in Unity 2021.2.0b6

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.