Search Unity

Unity UI Scrollview bug - content partially visible outside its viewport

Discussion in 'UGUI & TextMesh Pro' started by Filopuk, Mar 30, 2023.

  1. Filopuk

    Filopuk

    Joined:
    Jul 24, 2015
    Posts:
    10
    Hello!
    I'm having problems with one scrollview. In playmode it's partially visible outside the viewport. The issue is gone when I switch windows to the scene, and then back to the game. All other scrollviews work as expected. I've restarted Unity and made a new scrollview, but it didn't help. I've never seen anything like that before.

    I'm using Unity 2022.1.22f1.

     
    Last edited: Mar 30, 2023
  2. Filopuk

    Filopuk

    Joined:
    Jul 24, 2015
    Posts:
    10
    I've managed to solve the issue. I'm using a camera overlay in order to render UI, and some 3D objects were bugging certain UI elements. Checking Clear Depth in the overlay camera settings solved it.