unity button hover not working

Please try again in a few minutes. // set the button's image to the normal sprite, // assign the highlight sprite to this new class instance, //Orig1 = image for normal button; Orig2 = image for hover (1st button), //Stored1 = image for normal button; Stored2 = image for hover (2nd button), https://docs.unity3d.com/ScriptReference/UI.Selectable-spriteState.html, (You must log in or sign up to reply here. Remember that in Overlay rendering mode, which is the default mode, the size of the Canvas is . I had this same problem in Unity v2020.3.24f1, and after trying all suggestions to no avail I noticed in my case the Graphic Ray-casting was un-checked.