I set my "TextMeshProIsPresent" and was able to set up the speech bubble however I still get the following error using AC 1.81.4 and unity 2022.3.21f1:
Cannot find UnityEngine.UI.Text for menu element SubsLineLabel in Canvas SpeechBubbleUI
-> AC debug logger
UnityEngine.Debug:LogWarning (object,UnityEngine.Object)
AC.ACDebug:LogWarning (object,UnityEngine.Object) (at Assets/AdventureCreator/Scripts/Static/ACDebug.cs:39)
AC.MenuElement:LinkUIElement<UnityEngine.UI.Text> (UnityEngine.Canvas,UnityEngine.UI.Text&) (at Assets/AdventureCreator/Scripts/Menu/Menu classes/MenuElement.cs:1398)
AC.MenuLabel:LoadUnityUI (AC.Menu,UnityEngine.Canvas,bool) (at Assets/AdventureCreator/Scripts/Menu/Menu classes/MenuLabel.cs:175)
AC.Menu:LoadUnityUI (bool) (at Assets/AdventureCreator/Scripts/Menu/Menu classes/Menu.cs:443)
AC.PlayerMenus:AssignSpeechToMenu (AC.Speech) (at Assets/AdventureCreator/Scripts/Controls/PlayerMenus.cs:2417)
AC.Dialog:StartDialog (AC.Char,string,bool,int,bool,bool,UnityEngine.AudioClip,UnityEngine.TextAsset) (at Assets/AdventureCreator/Scripts/Speech/Dialog.cs:163)
AC.ActionSpeech:StartSpeech (UnityEngine.AudioClip,UnityEngine.TextAsset) (at Assets/AdventureCreator/Scripts/Actions/ActionSpeech.cs:905)
AC.ActionSpeech:Run () (at Assets/AdventureCreator/Scripts/Actions/ActionSpeech.cs:196)
AC.ActionList/d__47:MoveNext () (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:470)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator)
AC.ActionList:ProcessAction (int) (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:412)
AC.ActionList:ProcessActionEnd (AC.ActionEnd,int,bool) (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:617)
AC.ActionList:EndAction (AC.Action) (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:576)
AC.ActionList/d__47:MoveNext () (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:540)
UnityEngine.MonoBehaviour:StartCoroutine (System.Collections.IEnumerator)
AC.ActionList:ProcessAction (int) (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:412)
AC.ActionList:ProcessActionEnd (AC.ActionEnd,int,bool) (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:617)
AC.ActionList:EndAction (AC.Action) (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:576)
AC.ActionList/d__47:MoveNext () (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:540)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Sorry for putting this in the wrong section, I meant to place in Technical Q&A.. however this does seem to be a bug as we can no longer place text mesh pro gui elements in the "linked text" section
Manually defining TextMeshProIsPresent is no longer necessary - see the upgrade notes section of v1.80 for details.
TextMesh Pro support is now a per-Menu option, however. You'll need to check the Menu's Use TMPro components? option in its properties panel.
That is amazing, thank you for your help here.This worked.
@ChrisIceBox just wanted to give you a heads up that for some reason you can only apply the template after you have defined TextMeshProIsPresent or you will get the warning notification in the image
Ah, right. Thanks - I'll need to update the package to remove this.