The name 'ReplaceTextForTextMeshPro' does not exist in the current context
-
I just switched my platform over to iOS to make a build for my phone in Unity and got the following error.
Assets/TutorialDesigner/Scripts/Dialogue.cs(764,21): error CS0103: The name 'ReplaceTextForTextMeshPro' does not exist in the current context
What do I do?
-
Thanks for your message. Could you please tell me your Unity version too?
-
@Baroni said in iOS Platform Error in Unity:
Thanks for your message. Could you please tell me your Unity version too?
2019.1.5f1
-
Thank you. The reason for this is that the platform define, which tells Unity to use TextMeshPro, is only added for the current active platform. If you setup Tutorial Designer with TextMeshPro on one platform and later switch or install a new platform, the platform define for that platform is missing. To solve it, add "TD_MOD_TMPro" to your current platform defines manually:
-
@Baroni thank you very much that fixed it