One thing you can do is find out what is in the walls and ceiling on an RV you are considering buying. Is the framing wood or aluminum? What goes between the studs? How are the walls made? How is the roof constructed?
There is a difference between RVs in terms of construction. Older units are more likely to have more wood construction instead of aluminum.
Manufacturers have gotten better over the years, although some still need improvement. For example, older Class Cs used to have windows in the front overhang, but they leaked a lot, so most manufacturers stopped putting windows up there. Also, motorhomes are bigger than cars and do a lot more flexing as they are driven.
And the furnaces would work better if there weren't so many darn holes in these things from slides and such. It is really hard to construct a wall that moves in and out, but doesn't have little gaps here and there. Ditto for better insulation and windows.