UIBuilder: Only able to type one letter at a time into text fields

When I open UIBuilder and begin editing the names of my elements, as soon as I type a single letter, the UI switches focus to my Hierachy and re-selects the currently selected element. Because focus is not on my text-field anymore, I’m unable to continue typing until I select the name-field again, and then the same thing happens.

I can ignore UIBuilder for the most part, typing into UXML, but I’ve also resorted to typing first elsewhere then pasting into UIBuilder.

I have mentioned this before and still no fix.

2 Likes

I have this issue as well.

I have this issue as well.

Hello, it sounds like it could be this issue, can you confirm: Unity Issue Tracker - UI Builder's Inspector text field loses focus after input when interacting with StyleSheet's dropdown menu beforehand

This is fixed in 2022.2 and the fix for 2022.1 and 2021.3 are on the way, not sure what version you’re on.

1 Like

Hi, this sounds great! I’m on 2022.1 but have no issue updating to 2022.2. Ty! (That issue is the one I’m facing, yeah).

1 Like

Is there an ETA for when this fix is backported to 2022.1?

Thanks in advance!

It was closed already, if it’s not yet with the latest version (2022.1.6f1) it’ll be on the next one for sure!

2 Likes

I also have this issue sometimes in the actual TextField of UI Toolkit during runtime. Could this be related? Will this also be fixed with this fix?

Yes it should all be fixed, it wasn’t UI Builder specific as you pointed out :slight_smile:

Oh that would be great! Looking forward to the fix.

I am experiencing something similar in version 2022.3.10f1
In the inspector, if I try to edit a float value it will blur the field as soon as what I have typed is a parsable float. Which means if I type any digit, it blurs. If I type a decimal point, it doesn’t blur until I type a digit.

I am still experincing this problem constantly in Unity 2022.3.10 it is a real pain, I have to write everything into a seperate notepad and cut and paste every word across. Occasionally it works fine but it is normally broken.

This problem shouldn’t be in 2022.3 at all as it was fixed before those versions started being published but also have you checked more recent versions of the 2022.3 stream? Most recent one is 2022.3.25f1 for example.
If you’re still seeing the issue then I’d recommend filing a bug report through Help > Report a bug.