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
- NullReferenceExceptions appear when clicking to rename and then deleting the only GameObject in a scene
- Crash on "core::base_hash_set" when using nested [SerializeReference] fields in List<T> structures
- A ghost Game Window and multiple errors appear in the Editor when a Render Texture used by a Camera's "Target Texture" property is deleted
- Color Picker feels less smooth when dragging a Variables Color property in UI Builder Inspector
- Crash on xatlas::internal::pack::Atlas::findChartLocation_bruteForce when generating the lighting
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