Any news on this bug?
I really like the new UI Builder but with this bug it is impossible to use it.
Really wondering how everyone else gets things done with the UI Builder right now.
Description:
Hitting Save in the UI Builder messes up the uxml document. Elements are sometimes removed or positioned otherwise.
Also mentioned in this thread:
Hello,
I am using UI Builder to make an UI skeleton to test out a combat system. The first UI I made worked right. Then, In order to implement new mechanics I needed to bring new elements into my existing UI, and then the problems came. Any time I created a new element, sized and positioned it, when I saved the uxml file everything messed up (even differnt labels messed several attributes like name and text size while retaining other attributes).
I thought I was just unexperienced with the too…
I had this problem too and thought the same thing. However, once i started actually using the uss file to format and style all the elements, I haven’t had any problems with saving and retaining the format.
It’s kind of a nightmare right now. I do a lot of editing in text editor form.
Issues I frequently get with the builder
When hitting save, it will prompt if I want to save and then I lose ALL new changes
Will move new elements to the end
Will delete templates and their references
Will lose the USS reference
Hi, this looks similar to this issue: Unity Issue Tracker - [UI Builder] A child's and next in Hierarchy item variables swap when saving UI Document after changing the child's Border Width
Which is fixed in the mainline (2021.2) and will be released in a future version of the UI Builder package.
If you think that’s not it, then feel free to report the bug through Help > Report a bug.
Flipps
May 19, 2021, 10:56pm
5
Thanks for the link to the issue, but it does not seem to fit to my kind of bug.
I am pretty much having the same problems as descriped by exblade
When hitting save, it will prompt if I want to save and then I lose ALL new changes
Will move new elements to the end
Will delete templates and their references
Will lose the USS reference
Going to report the bug.