[UIToolkit] [Runtime] Input field losing focus when used in a cell of a MultiColumnTreeView

Any input field (IntegerField, TextField, etc) are losing focus when trying to enter a value when they are used in a cell of a MultiColumnTreeView. Same visual elements work as expected in MultiColumnListView.

or

See attached video in zip file (MultiColumnListView - Test Scene - Windows, Mac, Linux - Unity 2022.2.0b8.3023.mp4.zip)

Is it a known issue, do you know any workaround for it?

Bug report ref: IN-17524

Edit: Tested on latest beta 2022.2.0b8.3023

Thanks.

8459660–1123091–MultiColumnListView - Test Scene - Windows, Mac, Linux - Unity 2022.2.0b8.3023.mp4.zip (359 KB)

Sorry to bump it up, but it’s a “game breaker” bug in our opinion. Knowing how slow bug reports are processed, we need at least a comment, to know what are our options with it.

Thanks.

Hi, I have the same issue, did you found the solution?

I’ve filed a bug report to unity, it was confirmed, but no changes since.
https://issuetracker.unity3d.com/issues/uitoolkit-runtime-input-field-losing-focus-when-used-in-a-cell-of-a-multicolumntreeview

PS: We also gave up on using MultiColumnTreeView for now, it’s extremely slow if you have many items and/or items change often. (or maybe we don’t use it as expected) Good when you generate it once at the beginning.

1 Like