Solution to Buttons don´t works after update to unity 2017
I have had the same problem of other people, but I need that my canvas be a "Screen space - camera", the solution is Duplicate the button and delete the old, and all ready.
But when one script have attached this button, then the button don't works.
NEW1- When the script that calls to the button or object contains a line of code that this can´t keep then don´t works.
Example: My button has local scale (1,1), the script says that in Start always must be (1,1) but my button has actually (1,1), then the script can´t keep the order and button don´t works.
The same is if the button is active at the beginning and later your have in a script with a order that button in start or every time that you press other button to active, how this at the beginning is active the order faults.
I have continued researching the cause, finally can I to say that is a Unity bug.
The real solution at the moment is come back to Unity 5.6.
Answer by LightL · Sep 05, 2017 at 02:23 PM
Buttons at now works with scale (1,1,1), before (1,1,0) was valid.
If buttons are in a down layer and there is other layer up, buttons won´t works.