If not by code modifying, then your sliders were probably reset by something else, like selecting a different script? I don't think that sliders know about compilation errors.