Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

UI buttons scrollrect issues

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

  1. jackchovet


    Feb 21, 2018
    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.