2D avatar toggles not working?

I’ve been trying to work on a 2D avatar for my friend, and I want to give it material swap toggles so it can have multiple facial expressions. The animation transitions seem to work well in Unity, but when I go to test it in game the toggles never work!
Is there any way to fix this?