skeletal mesh/animation casts no shadow/ao in render but is there in viewport [movable -RTX project]

If there is people coming here because there is no shadow in the viewport but there is in the rendering,

  • check in the option of your main light ( me was the sun as a directional light )
  • uncheck "Cast Shadows From Cinematic Object Only