Search Issue Tracker

Fixed

Fixed in 6000.0.6f1, 7000.0.0a2

Votes

1

Found in

6000.0.0b14

7000.0.0a1

Issue ID

UUM-69322

Regression

No

“InvalidOperationException” errors are thrown when changing property elements and attempting to access them during runtime

--

-

How to reproduce:
1. Open the “Darfall-Bug-UIElements“ project
2. Open the “Assets/Darfall-MapEditor/Scenes/Scene_MapEditor.unity“
3. Switch to debug mode
4. On the Toolbar locate and select the “Load scenario map” icon then select “Test.scenario”
5. In Play Mode select the second icon from the left below “Scenario Name” section
6. Double-click on “Ardan”
7. In the “Ardan” window change the “Name” property then close the window
8. Double-click on “Cleric”

Expected result: The “Cleric” window is opened and no errors are thrown
Actual result: The list disappears, the “Cleric” window is not opened, and multiple “InvalidOperationException” errors are thrown

Reproduced with: 2023.2.18f1, 6000.0.0b14
Could not test with: 2021.3.37f1, 2022.3.24f1 (Could not resolve compilation errors)

Reproduced on: macOS 14.2.1 (M3) (by reporter), Windows 11
Not reproduced on: No other environment tested

Notes:
1. When upgrading the project there is a compilation error that needs to be resolved → Additional information is provided in the internal comments
2. Full errors are provided in the internal comments
3. Not reproducible if the properties are not changed
4. Could not test in the Player → Build fails with errors

Forum thread:
https://forum.unity.com/threads/state-of-ui-toolkit-runtime.1571641/#post-9739603

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.