Search Issue Tracker

Fixed

Votes

0

Found in [Package]

1.0.0

Issue ID

PROFB-56

Regression

Yes

IndexOutOfRangeException errors are thrown in the Console when expanding UnityEditor.EditorWindow Managed Field in the Memory Profiler

Package: Memory Profiler

-

Reproduction steps:

  1. Open the attached “Repro.zip” project
  2. Open Memory Profiler (Window > Analysis > Memory Profiler)
  3. Select the “Blank_2023-1_2022-11-21_08-37-42” snapshot
  4. Select the “Unity Objects” Tab and select “GameView RT” in the list (RenderTexture > GameViewRT)
  5. Expand “UnityEditor.GameView “““ in the “Referenced By” category on the right and select the first item from the top
  6. Expand any of the Managed Fields in the list under the Selection Details category
  7. Observe the Console window

Expected result: No errors in the Console window
Actual result: “IndexOutOfRangeException: Index was outside the bounds of the array” errors are being thrown in the Console window

Reproducible with: 1.0.0-pre.1, 1.0.0 (2023.1.0a20, 2023.1.0a22)
Not reproducible with: 0.7.1-preview.1 (2020.3.42f1, 2021.3.15f1, 2022.1.24f1), 1.0.0-pre.1, 1.0.0 (2022.2.1f1, 2023.1.0a19)

Reproducible on: Windows 10 (21H2)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.