Before you buy a new RV, hire an expert inspector.
Recently I was informed by both my Dealer (Camper Clinic) and Manufacturer (Salem) that caulking repairs are not included under their warranty (as are not a bunch of other things). So before you sign on the line to purchase any new RV, read your warranty documents very carefully and hire an expert to check the RV out for a few hundred bucks. Then make sure all of the specific necessary fixes identified by your expert are part of your purchase contract before you sign it!
My Dealer required me to sign a two-page list of everything that had been "checked out by their expert technicians" prior to delivery and had passed their inspection. Much to my sorrow, I later found numerous warranty problems that should have been identified by an adequate pre-inspection including an unconnected light fixture, water plumbing leaks, loose drain connections, improperly installed air ducting, an inoperative vent control, a bent awining support and absence of side caulking on most of the windows and doors. A pre-purchase inspection (by your expert) is especially important for new RV's that will have to be returned to the Dealer's location for warranty repairs, and for destination type trailers that are very difficult to take back to the Dealer for repairs.