Hmm, my first thought is to make sure the roof is properly supported from below?
I can't think of any code related reason that would happen, but I know roofs can be tricky on custom houses and if you dont support it correctly, it will not show. I think the roof tiles are orange or something...