Search Unity

(b20) UI.Image consumes mouse input and affects buttons

Discussion in 'UGUI & TextMesh Pro' started by Deleted User, Oct 3, 2014.

  1. Deleted User

    Deleted User

    Guest

    Hope the title explains this and has anyone else experienced this.

    I have several buttons in the canvas that work just fine (I can press them and see animations on them). But once add a UI.Image and place this in the scene (even behind the buttons) it seems to consume the mouse and doesn't let the buttons receive the info.

    Special note the image you place must be overlapping the button (and can be behind it).
     
  2. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,225
    We are not seeing this here, if you think you have found a bug please report it.
     
  3. Deleted User

    Deleted User

    Guest

    Thanks Tim,

    I did report a bug, after looking into it closer what I was experiencing was in the Scene Graph the Image had to be after the buttons (so it would appear overtop).

    I recently moved that image to another Canvas because it was better there for my game and the problem went away.

    I will attempt to repro it again and if I can will log a bug with the scene.