Search Unity

Bug Styles order update in UI Builder isn't saved to uxml

Discussion in 'UI Toolkit' started by Hellfim, May 21, 2023.

  1. Hellfim

    Hellfim

    Joined:
    Sep 11, 2014
    Posts:
    123
    If you have several style sheets in one uxml, then changing their order in hierarchy doesn't get saved to the disk, although UI builder correctly displays updated order until you re-open the uxml document.

    This issue affects the order in which uss styles are being applied (if they modify same value). Although workaround is simple (manual change of the order in uxml) I believe this small issue might give a lot of troubles to newcommers.
     
    GDevTeam likes this.
  2. cpalma-unity

    cpalma-unity

    Unity Technologies

    Joined:
    Nov 30, 2020
    Posts:
    110
    Hello. This sounds like a bug. Could you please file a bug report?
     
  3. Hellfim

    Hellfim

    Joined:
    Sep 11, 2014
    Posts:
    123
    Hi! CASE IN-41935