Copyright © 2026 Unity Technologies
Added the possibility to use the a tag as before with IMGUI.
Added the possibility to use the tag as before with IMGUI.
Reproduction steps:
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
Issues you vote on will appear here