Search Unity

Scroll Rect not allowing child canvas to scroll

Discussion in 'UGUI & TextMesh Pro' started by joelstartech, Apr 26, 2019.

  1. joelstartech

    joelstartech

    Joined:
    Mar 6, 2019
    Posts:
    31
    I have a scroll rect that has a vertical layout group to stack prefab panels that instantiate inside the content canvas, and everything works in the sense that it populates and extends the canvas to fit the stacked prefabs. However, the interaction is gone, and you cannot scroll the window. I'm assuming there's something blocking the pointerEventData or interactivity logic, but I can't find anything that is the cause.

    Are there some common causes that I'm unaware of that would help me track this? Thanks!
     
  2. joelstartech

    joelstartech

    Joined:
    Mar 6, 2019
    Posts:
    31
    So, apparently the issue was I did not have a 'graphic raycaster' component on the prefab. Adding that fixed the button interactivity, but I still cannot scroll.
     
    JVimes likes this.