Search Unity

UI buttons scrollrect issues

Discussion in 'UGUI & TextMesh Pro' started by jackchovet, May 17, 2020.

  1. jackchovet

    jackchovet

    Joined:
    Feb 21, 2018
    Posts:
    3
    Hello, this is my first time posting here so apologies if I'm not posting this in the right place, feel free to redirect me if this is the case.

    I'm currently working on making a menu of selectable UI buttons using a scroll view, and it works, with some issues.
    I can only click on the first button; it is the only one who's OnClick or OnPointerEnter functions work. If I click on it (which in my script destroys it due to it being one time use), the next button goes on top as it should, and I can now click that one, and it's functions work. However, the other buttons still do not work.
    All other buttons everywhere else in the game have worked so far, and I'm struggling to figure out why in this case they don't.
    In case this helps, I am currently working in Unity 2D, and on the version Unity 2017.4.39f1.

    Any help would be appreciated, I can post screenshots if necessary !

    Thank you in advance.