Search Issue Tracker
Fixed
Fixed in 2023.1.0b4, 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
- GetCurrentAnimatorClipInfoCount() and GetNextAnimatorClipInfoCount() return 0 when animator is in transition
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
Resolution Note (fix version 2023.2.0a1):
Added the possibility to use the a tag as before with IMGUI.
Resolution Note (fix version 2023.1.0b4):
Added the possibility to use the tag as before with IMGUI.