Animated objects have broken materials when I build the game

When I build and run my game, all the materials on animated objects appear pitch black for some reason. I really dont know why this could happen but if anyone has any idea please help me.

In editor:

In build: