This seems like a pretty basic error but I can't get to solve this for some reason... So here it is : I have a settings page with a Slider and a SettingsHandler gameObject with a script attached. This script has a public Slider variable, which means I can drag and drop the slider to link it.
Now, for some reason, when I actually run that settings page, it shows me the following error : error message
extra code screenshots related to the error : Slider variable, Error line, Script variables shown in Unity
(sorry for the images as links, I have no idea how to make them show easily)
Edit : forgot to mention that the slider somehow works when testing and the Text variable changes and actually gets its value updated