Hello,
I have a scene in my project that uses Text Mesh pro. One of my components contain a font asset of “LiberationSans SDF (TMP_Font Asset)”. I created a duplicate asset called “LiberationSans SDF3 (TMP_Font Asset)” that doesn’t render text behind objects, and another asset that uses an ‘Otto shader’ (a shader font that is set up to look like handwriting, stored in LiberationSans SDF2 (TMP_Font Asset). Several times after saving my scene, I noticed the Font assets ‘revert’ back to old values (I don’t know every time Unity reloads or if after I run my game through WebGL), but I have to keep changing the font assets again and again.
Are you talking about having to keep changing the font assets themselves in your Assets folder, or which font is being used in your scene? If the font assets themselves, then they aren’t actually saved with the scene. So saving the scene doesn’t save those changes to the font assets. Try doing “File->Save Project” instead, which should save to disk all pending changes to any modified assets other than the scene files.
Thank you. I think that fixed the problem.