Notes

Unity UI canvas button troubleshoot

For a button to work properly:

– A button that is a child of a canvas object
– The canvas object must have a GraphicRaycaster component
– There must be an EventSystem object somewhere in your hierarchy.
– If you messed around with the InputManager be sure you still have the submit input (and it does not give errors on run)

Unity will build all this automatically if you create your button from the GameObject menu. But not if you add a button component manually.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>