I am working on an animation of a beam engine. The animation works perfectly in the viewport but when I render the animation, eevee or cycles, parts of the animation render wrongly. Interestingly if I manually scroll through the individual frames and render them out as images they render fine.
For example here is a render of the image of Frame 16.
and this is a copy of the same frame from the animation render