A few questions might help sort it out:
Are the images properly focused with AF on?
Have you tried gently cleaning the electrical contacts on the lens?
Have you tried the lens on other bodies and other AF lenses on your R5?
Have you updated the firmware in the lens?
I suspect you can get service from Canon: 1-800-OK-CANON