An animated feature film need not have a good story to be successful. It need only entertain. Often they entertain through topical humour which has a short shelf life.
If the film is a good and well crafted story it will entertain and have a far more enduring life.
A good story well told is more difficult than any other aspect of writing or film making.
Success through entertainment is a comfort zone that most major studios appear reluctant to leave.