The LEGO Movie (Spoof)

It is a 2014 film.
Cast
Sunset Shimmer - Emmet
Discord - Lord Business
Elsa - Wyldstyle
Spyro - Batman
Olaf/Wander - Bad Cop/Good Cop
Mr. Peabody - Vitruvius
Operetta (Monster High) - Benny
Star Butterfly - Uni-Kitty
Mr. Krabs - Metalbeard