This is the same in any university, as well as in full-time universities. If you can't pass the defense, you won't get the diploma.
However, there are two opportunities. If you don't grasp both opportunities, you can postpone graduation until the next level.