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
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
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2022.1):
Fixed in Unity 2022.1.0a3 and above
Resolution Note (fix version 2021.2):
Fixed in Unity 2021.2.0b6