Search Issue Tracker
Fixed in 2023.1.0b4
Fixed in 2023.1.X, 2023.2.X, 2023.2.0a1
Votes
1
Found in
2023.1.0a21
2023.2.0a1
Issue ID
UUM-20795
Regression
Yes
Editor throws IndexOutOfRangeException when selecting certain text references in Memory Profiler
Reproduction steps:
- Open the attached “ReproProj” project
- Go to Windows → Analysis → Memory Profiler
- In the Memory Profiler window select the “ReproSnap” snapshot
- In the Memory Profiler window select the “Unity Objects” tab
- Expand the Texture2D section
- Select the second “Inter - Regular Atlas” object after all objects that contain paths in their names
- In the References section of the Memory Profiler window right click on ““Inter - Regular Atlas” UniyEngine.Texture2D : Texture2D” and select “Truncate Managed Type Names”
- In the Details section of Memory Profiler window expand the “Texture2D[] “UnityEngine.Texture2D[][0]””
- Expand the “FontAsset””” section
- Expand “Character “[0x23c83372b70]”” section
- Select or expand and select any references in the previously expended section
Expected result: No IndexOutOfRangeException errors in the Console
Actual result: IndexOutOfRangeException errors in the Console
Reproducible with: 2023.1.0a20, 2023.1.0a21
Not reproducible with: 2020.3.42f1, 2021.3.15f1, 2022.1.23f1, 2022.2.0b16, 2023.1.0a19
Reproduced on: Windows 10
Note: there’s a possibility that the editor may crash while trying to reproduce the issue. Sometimes the editor will throw UnityEngine.GUIUtility:ProcessEvent error instead of an exception or crash, the behavior is intermittent. This case was originally reported as crash, however, it wasn’t reproduced during testing.
Part of possible stacktrace in case of a crash:
0x00007FF863E2DC0E (Unity) scripting_array_length
0x00007FF8644257D3 (Unity) TextRendering::TextCoreGeneratorGroup::Get
0x00007FF86446BDCF (Unity) GUIStyle::DrawContent
0x00007FF8631FFED0 (Unity) GUIStyle_CUSTOM_Internal_DrawContent_Injected
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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Resolution Note (fix version 2023.2):
Added the possibility to use the a tag as before with IMGUI.
Resolution Note (fix version 2023.1):
Added the possibility to use the tag as before with IMGUI.