TextMesh Pro option keeps turning itself off

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
SilencedMage
Posts: 6
Joined: Thu Nov 30, 2023 12:07 am

TextMesh Pro option keeps turning itself off

Post by SilencedMage »

My partner and I use Unity's Plastic for version control. Both of us have the TextMeshPro option enabled, but whenever we merge our work (even when that work has nothing to do with dialogue), the TextMesh Pro option turns off for both of us, breaking all of our references. Does anyone have any idea why? Alternatively, is there a way to force this on somehow? Thanks a bunch!
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: TextMesh Pro option keeps turning itself off

Post by Tony Li »

Hi,

Are you syncing your Unity project's ProjectSettings folder to your version control repository?

Is it possible that one person doesn't have the TMP_PRESENT checkbox ticked in their copy of the project? In this case, whenever they push up it will overwrite the project's Project Settings > Scripting Define Symbols with their (TMP_PRESENT-less) copy.

Also, what Dialogue System version are you using? If you're not on the current, can you back up your project, make sure the backup/version control is good, and then update to the current version?
SilencedMage
Posts: 6
Joined: Thu Nov 30, 2023 12:07 am

Re: TextMesh Pro option keeps turning itself off

Post by SilencedMage »

Thanks for your reply! To anyone who stumbles upon this later, our Builder was turning it off. In the custom defines of our builder, we needed to add the following custom define: TMP_PRESENT
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: TextMesh Pro option keeps turning itself off

Post by Tony Li »

Thanks for sharing the tip!
Post Reply