Highlight animation on button changes whenever the button is pressed?
I'm using the inbuilt animation stuff in Unity for a simple effect that causes the button to scale up whenever it's highlighted, with the transition time edited to 0.1s from the default value. This works without issue across all the buttons that I've implemented it on (except in some cases the scaling seems to anchor to a corner, but I think I can figure out what causes that).
My problem is that it seems like after selecting the button multiple times, the scaling effect on highlight starts to go away. For example, I have it on my resume button in a pause menu. Pausing the game once and mousing over the resume button produces the expected scaling animation. If after resuming I pause the game a second time, mousing over the resume button does cause scaling, but it's noticeably to a lesser extent than before. Doing this a third time, the scaling animation is barely noticeable and almost non-existent. This resets whenever the scene is reloaded.
What's causing this? There's no script or anything involved in how I've done the scaling effect, I just selected the button and used the "record" function in the Animator window in Unity to assign a 1.2x scaling effect to the "highlighted" state.