There should be no problem going to Nice with crime etc. However, I quickly checked the swiss RR time table - there seems to be no suitable night train. However, there are many day trains. One of these I really can recommend, a direct train Basel-Lucerne-Milano-Nizza:
Basel SBB: 09:10 ...