Material color does not save (Android)

I have a Material assigned to script in inspector. Script changes it’s color by carMaterial.color = myColor. It changes the material color as i expected and saves the material changes when i play game in editor. But on android build the color changes and after i restart the game it resets back to it’s default color. Is there any way to save material changes?

Things like that will not save on their own once they have been built to the device, they will have to be properly saved. I suggest using playerPrefs to save the int values of the RGB values of your material colour, then loading them when the game starts up :slight_smile: