Quantum sensors with solid state electron spins have attracted considerable interest due to their nanoscale spatial resolution.A critical requirement is to suppress the environment noise of the solid state spin sensor.Here we demonstrate a nanoscale thermometer based on silicon carbide (SiC) electron spins.We experimentally demonstrate that the performance of the spin sensor is robust against dephasing due to a self protected machenism. The SiC thermometry may provide a promising platform for sensing in a noisy environment ,e.g. biological system sensing.