The spores can survive in cooked rice. When rice is left at room temperature, spores can develop into bacteria. These bacteria may produce toxins (poisons) that cause vomiting or diarrhea as they multiply.