Search Unity

UI Button not working

Discussion in 'UGUI & TextMesh Pro' started by Wroztee, May 26, 2017.

  1. Wroztee

    Wroztee

    Joined:
    Mar 26, 2017
    Posts:
    2
    I have a problem I copied my Canvas from one level and pasted in another one and just changed some little things.. but all of the buttons on the new Canvas stopped working. Can someone please help me? I have done this many times before withhout any problems..
     
  2. methos5k

    methos5k

    Joined:
    Aug 3, 2015
    Posts:
    8,712
    2 things come to mind that may be a problem (to check first, at least):
    1) the links, ie: UnityEvents, from the buttons: Do they still point to valid objects/methods in the new level where you've pasted the Canvas?
    2) Is there an event system in the other level/scene?
     
  3. Wroztee

    Wroztee

    Joined:
    Mar 26, 2017
    Posts:
    2
    Uhh... I am stupid sorry.. I forgot to add the Event System..
     
  4. methos5k

    methos5k

    Joined:
    Aug 3, 2015
    Posts:
    8,712
    No worries. :) At least ya got it fixed.