Problem with Action baking and armature in GE

So, I’ve been making a small game, more like doodle actually:P But I have a problem. I have parented my character to a box, where all the logic is. But I can’t add an armature to the box for animation, so instead I added a constraint to the box to follow the rotation of an armature. After I’ve made a small animation making my character spin i needed to make it an action, but for some reason it doesn’t work to bake, after baking nothing happens when i play the new baked animation. What have i done wrong?