Search Issue Tracker

Active

Under Consideration for 2023.1.X, 2023.2.X, 2023.3.X

Votes

2

Found in

2023.1.7f1

2023.2.0b3

2023.3.0a3

Issue ID

UUM-44732

Regression

Yes

"IndexOutOfRangeException" in "UIElements.Layout.LayoutManager.DestroyNode" when changing UXMLs

--

-

Reproduction steps:
1. Open the attached "repro_IN-49088.zip" project
2. Open the "Main" Scene
3. Go to "File > Build Settings..."
4. Make sure that "WebGL" is selected as the Platform and press "Build And Run"
5. When the Player opens, press on the lobby desk (it will glow when you hover over it with your mouse)
6. Press the arrow button in the top-left to go back
7. Repeat these two steps a few times

Expected result: The application runs without any issues
Actual result: The "IndexOutOfRangeException: Index was outside the bounds of the array" error is shown, the application buttons become unresponsive and show the "InvalidOperationException: Stack Empty" error after subsequent clicks

Reproduced with: 2023.1.0b4, 2023.1.7f1, 2023.2.0b3
Not reproduced with: 2021.3.29f1 (tested on macOS because the project builds only with Vulkan graphics API), 2022.3.6f1, 2023.1.0b3

Reproduced on: Windows 10, macOS 13.4 (M1, Intel)

Note: Reproducible on Google Chrome (115.0.5790.110), Firefox (115.0.2), Edge (115.0.1901.183), Opera (100.0.4815.76)

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.