Rig resets pose when rendering

Whenever i try to render the scene, the Rig resets the pose back to Rest Position, this is weird, fon’t know what to do.