Multiple PlayerPrefs aren't working

Hi. I’ve been trying to make some very basic player settings for my game. Right now I have three UI sliders; master volume, music volume, and mouse sensitivity. I’m storing all their values in PlayerPrefs. It works perfectly fine with only one, but when I try with two or more, it only loads the first one from PlayerPrefs and disregards the others.

Please help, I’ve been stuck on this for a while. Am I doing something wrong or is this a bug with PlayerPrefs?

Here’s my code:

public class optionsScript : MonoBehaviour
    public AudioMixer masterMixer;

    [SerializeField] private Slider volMastSlider;
    [SerializeField] private Slider volMusSlider;
    [SerializeField] private Slider sensitivitySlider;

    void Start() {

    void CheckPrefs(){
        if(PlayerPrefs.HasKey("masterVolume")) LoadSettings();
        else SetSettings();

    public void SetSettings(){

        //master volume
        float masterVolume = volMastSlider.value;
        masterMixer.SetFloat("masterVolume", Mathf.Log10(masterVolume) * 20);
        PlayerPrefs.SetFloat("masterVolume", masterVolume);

        //music volume
        float musicVolume = volMusSlider.value;
        masterMixer.SetFloat("musicVolume", Mathf.Log10(musicVolume) * 20);
        PlayerPrefs.SetFloat("musicVolume", musicVolume);

        PlayerPrefs.SetFloat("sensitivity", sensitivitySlider.value);


    void LoadSettings(){
        ////LOADS PLAYERPREFS\\\\
        Debug.Log("Loading settings...");

        Debug.Log("music volume 1: " + PlayerPrefs.GetFloat("musicVolume"));

        volMastSlider.value = PlayerPrefs.GetFloat("masterVolume");
        volMusSlider.value = PlayerPrefs.GetFloat("musicVolume");
        sensitivitySlider.value = PlayerPrefs.GetFloat("sensitivity");

        Debug.Log("music volume 2: " + PlayerPrefs.GetFloat("musicVolume"));