The first and last frames of the rendering image have inconsistent lighting and shadows.

I have a looping animation; when I render with 5.3,The first and last frames of the rendering image have inconsistent lighting and shadows. I switched all the exposure settings and it still had this issue, only when I rendered the animation loop twice and selected the back loop animation it was fine。

what should i do???

thanks a lot

Try using the warmup feature. You probably need a few frames for the incremental lighting samples to balance out.