I’m running to a weird issue where I have a Canvas and some objects on it which are adding as prefabs. Each object has a OnClick event attached to it. The problem comes in when I click somewhere in Canvas only to see one of those prefabs catch the click event (and I don’t know which one got it).
The whole thing was working good, till it wasn’t anymore. I’m not sure if I did somthing or maybe it happens after updating Unity.
Has anyone ran to this issue before or has any idea why this would happen?
UPDATE
Here’s some more details:
- I guess the problem happened after installing Unity Pro 2017.1
- I’ve changed the ordering layers in some different ways and problem still was around!
- Maybe it worth mention that the prefabs are adding to a parent with grid layout group.