Why can't I package my game for Windows?

OK I had a map that has previously crashing the editor and I revered but the scene was still there and it was making the build crash, so is resolved now.