Turns out I had the mesh as an extra Skeletal Mesh component in my character. I removed it, and set it up in the native mesh of the character.
The previous Skeletal Mesh also wasn’t set to Character.
I still don’t know exactly why either of these things would cause it to not animate on the server, but it works now.