TMP Hide and Show errors
Posted: Tue Jan 23, 2018 9:17 pm
Hi Tony,
I am getting the following errors in my scene with the TMP integration. What's happening (other than the onslaught of yellow flags) is that the the Retical UI and Selector text is not removed when an NPC is no longer selected.
Parameter 'Hide' does not exist.
UnityEngine.Animator:SetTrigger(String)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorDisplay:HideControls() (at Assets/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Selector/TextMeshProSelectorDisplay.cs:242)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorDisplay:OnDeselectedUsable(Usable) (at Assets/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Selector/TextMeshProSelectorDisplay.cs:214)
PixelCrushers.DialogueSystem.Selector:DeselectTarget() (at Assets/Dialogue System/Scripts/Supplemental/Utility/Selector.cs:471)
PixelCrushers.DialogueSystem.Selector:Run3DRaycast() (at Assets/Dialogue System/Scripts/Supplemental/Utility/Selector.cs:455)
PixelCrushers.DialogueSystem.Selector:Update() (at Assets/Dialogue System/Scripts/Supplemental/Utility/Selector.cs:281)
Animator is not playing an AnimatorController
UnityEngine.Animator:SetTrigger(String)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorDisplay:HideControls() (at Assets/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Selector/TextMeshProSelectorDisplay.cs:242)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorDisplay:DisconnectDelegates() (at Assets/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Selector/TextMeshProSelectorDisplay.cs:186)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorDisplay:OnDisable() (at Assets/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Selector/TextMeshProSelectorDisplay.cs:146)
Parameter 'Hide' does not exist.
UnityEngine.Animator:SetTrigger(String)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorDisplay:HideControls() (at Assets/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Selector/TextMeshProSelectorDisplay.cs:242)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorDisplay:Update() (at Assets/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Selector/TextMeshProSelectorDisplay.cs:272)
I basically dragged the TMP demo scenes components into my scene, (added the TMP sector to my player and dragged the TMP dialogue manager). Also if I use my non-TMP Dialogue Manager I don't get any of the errors.
Sorry for being such a persistent character here lately.
Nathan
I am getting the following errors in my scene with the TMP integration. What's happening (other than the onslaught of yellow flags) is that the the Retical UI and Selector text is not removed when an NPC is no longer selected.
Parameter 'Hide' does not exist.
UnityEngine.Animator:SetTrigger(String)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorDisplay:HideControls() (at Assets/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Selector/TextMeshProSelectorDisplay.cs:242)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorDisplay:OnDeselectedUsable(Usable) (at Assets/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Selector/TextMeshProSelectorDisplay.cs:214)
PixelCrushers.DialogueSystem.Selector:DeselectTarget() (at Assets/Dialogue System/Scripts/Supplemental/Utility/Selector.cs:471)
PixelCrushers.DialogueSystem.Selector:Run3DRaycast() (at Assets/Dialogue System/Scripts/Supplemental/Utility/Selector.cs:455)
PixelCrushers.DialogueSystem.Selector:Update() (at Assets/Dialogue System/Scripts/Supplemental/Utility/Selector.cs:281)
Animator is not playing an AnimatorController
UnityEngine.Animator:SetTrigger(String)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorDisplay:HideControls() (at Assets/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Selector/TextMeshProSelectorDisplay.cs:242)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorDisplay:DisconnectDelegates() (at Assets/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Selector/TextMeshProSelectorDisplay.cs:186)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorDisplay:OnDisable() (at Assets/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Selector/TextMeshProSelectorDisplay.cs:146)
Parameter 'Hide' does not exist.
UnityEngine.Animator:SetTrigger(String)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorDisplay:HideControls() (at Assets/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Selector/TextMeshProSelectorDisplay.cs:242)
PixelCrushers.DialogueSystem.TextMeshPro.TextMeshProSelectorDisplay:Update() (at Assets/Dialogue System/Third Party Support/TextMesh Pro/Scripts/Selector/TextMeshProSelectorDisplay.cs:272)
I basically dragged the TMP demo scenes components into my scene, (added the TMP sector to my player and dragged the TMP dialogue manager). Also if I use my non-TMP Dialogue Manager I don't get any of the errors.
Sorry for being such a persistent character here lately.
Nathan