On Sunday, SpaceX tried and was unsuccessful at landing the first stage of its second-stage rocket on a drone ship floating in the Pacific. SpaceX had planned to broadcast the landing attempt live, but just seconds before touchdown was expected, the camera froze.

Now, SpaceX founder and CEO Elon Musk has just released the first footage of the wreckage, while staying optimistic about future landing attempts:

Falcon lands on droneship, but the lockout collet doesn't latch on one the four legs, causing it to tip over post landing. Root cause may have been ice buildup due to condensation from heavy fog at liftoff. A video posted by Elon Musk (@elonmusk) on Jan 17, 2016 at 7:07pm PST Jan 17, 2016 at 7:07pm PST

And a photo on Twitter:

Indeed, like Musk said, the residual pieces of the crash are bigger this time compared to the first two similar landing attempts last year, which ended in a giant explosion and lots of small rocket pieces scattered across the ship's deck and nearby seafloor.

From the looks of it, a good chunk of the rocket survived. The problem with the landing was a technical issue concerning one of the landing legs.

After successfully boosting the second stage and its cargo off the planet earlier Sunday afternoon, the first stage Falcon 9 booster turned itself around for re-entry, performing a series of engine burns and autonomous navigation calculations to slow down and get to the drone ship's landing platform.

It sounds like everything was working well — the engine burns, the descent, and the navigation — up until the rocket landed on the platform. One of the legs didn't lock into place. Without all four legs working, the 14-story-tall rocket wasn't stable, and after touch down, it tipped over.

If the leg had locked as it was supposed to, the landing might have been a success. As Musk said, however, this won't be the last drone ship landing attempt we'll see. This was the third time SpaceX attempted to land one of its rockets on a drone ship, and each time the company keeps getting one step closer.

While the landing attempt didn't go as planned, SpaceX achieved its primary goal, which was to deploy its cargo into orbit — the Jason-3 weather satellite, designed to measure ocean height across the globe and track sea level rise. Therefore, the overall mission has been deemed a success.