In spite of the fact that the project failed, it still remained as a learning experience.
Edit the following sentence so that it is more concise yet still conveying the same message.
Despite the project’s failure, it was still a learning experience.