Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Any Collider behind UI elements prevents them from receiving mouse events

Discussion in 'UGUI & TextMesh Pro' started by Andrew-Chewie, Dec 14, 2014.

  1. Andrew-Chewie

    Andrew-Chewie

    Joined:
    Aug 28, 2012
    Posts:
    9
    Strange problem occured in 4.6.1 f1, if I'll put any object with collider on it behind canvas then any canvas element that is over the obj with collider stops responding. Was trying to find similar cases on the forum, but there is only sorting orders of different canvases, not objects with colliders.

    It's easy to reproduce:
    1) open - Controls scene from the UI Demo project
    2) add collider to the Background sprite
    3) Now UI isnt working

    Thanks for help ;)
     
  2. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,218
    Can you grab 4.6.1p1, I think this was fixed.