I believe with HTC, they require you to do a factory reset if you're sending in your phone for a warranty repair. This just confirms with them that it's 100% not a software issue.
Also, if you ARE going to send it in for repair, doing a factory reset is the best option if you don't want the employees there to see your personal info. Just back up everything before you reset it.
-Roze-