Unity does not save runtime changes to a texture
So I have code which makes changes to a texture at runtime. The texture is already stored in my project's files, so there is no new texture created at runtime or something. When I hit play, the changes are made. When I exit play mode, the changes seem to stay there in the file, since if I use the texture as a sprite or in a material, I still see the changes. But whenever I exit Unity itself, or try to export the texture or open it in an external application, the changes are gone again. I don't get why the changes are there in Unity, but disappear whenever the texture's .png file is used outside unity.
Your answer
Follow this Question
Related Questions
How can I reset the score counter? 0 Answers
Material.SetTexture doesn't work if not "_MainTex" 0 Answers
Cannot change texture size 0 Answers
2D advanced texture blurriness 1 Answer
Texure2D is not changing 1 Answer