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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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