It seems strange, but I’ve rechecked this lots of times.
I have multiple buttons in my scene that are hidden and interactable is set to false until I change these two things by script. All buttons work fine except for one.
I’ve tried rebuilding the button from another one that was working and just changing graphics and OnClick(). Still, this button doesn’t work.
Both buttons are definitely called by the script, because the buttons show up right on time and the other button works. Also, I use sprite swap as button animation (should be visible if anything happens; other one is showing a change caused by hovering with the mouse).
What could I be missing?
Thanks a lot.
EDIT: I am using the most recent version of Unity on OS X (Unity 5.3.3), but the error occured before. It also happens in the built version.