Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Bug UI Builder Overflow Hidden Unity 2021.3.9f1

Discussion in 'UI Toolkit' started by AgelessFrost, Sep 20, 2022.

  1. AgelessFrost

    AgelessFrost

    Joined:
    Jan 26, 2019
    Posts:
    5
    If you have a UI document set up like this

    Visual Element covering screen with display set to false
    - Visual Element visible in screen with image a background image and border radius of 32 px and Overflow set to hidden
    - - Visual Element with overflow set to hidden again

    What happens when in play mode in the editor is that the bottom most visual element is visible on the screen, but is respecting the overflow limits of the parent.

    Expected behaviour is that nothing is visible at all because the parent object is not visible, but the bottom layer is being shown unexpectedly. Returning Overflow to default setting causes this to stop happening.
     
  2. pierre_10

    pierre_10

    Unity Technologies

    Joined:
    Apr 1, 2016
    Posts:
    33
    Can you log a defect for us please? it doesn't look right to me.