Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug Weird issue with UI Toolkit and flex.

Discussion in 'Unity 6 Beta' started by niuage, Mar 16, 2024.

  1. niuage

    niuage

    Joined:
    Nov 17, 2019
    Posts:
    123
    I did not change anything related to this after upgrading from 2022.3 to 6000.

    The issue is that my visualelements are not wrapping as expected. This section is supposed to have 7 buttons, that as you can see render outside of the parent.
    upload_2024-3-16_18-44-50.png

    As you can see, the parent is only 230px wide and is set to "wrap":

    upload_2024-3-16_18-46-18.png

    Again, that was working just fine before upgrading.

    Has anyone had similar issues in 6000?

    Thanks.
     
  2. niuage

    niuage

    Joined:
    Nov 17, 2019
    Posts:
    123
    Anyone from Unity can think of something I might be doing wrong there? Or a possible difference from 2022.3 to 6000 that could cause that?