Textline Framework Player Buttons not working

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
ErDE
Posts: 5
Joined: Wed May 12, 2021 6:56 am

Textline Framework Player Buttons not working

Post by ErDE »

Hi,

I'm very slowly getting into the basic understanding of DS and Articy Draft and all that, and have found the textline Framework to be very convenient for a beginning.

Unfortunately the player reply buttons do nothing, neither in the lobby scene, nor in the main scene and I have no clue why it doesn't work. Before that, I got my Articy Draft Data perfectly and working within DS, but now simply trying out the textline framework only the Player replies do nothing. The CYOA Framework works perfectly. All buttons work. It's really only the textline framework once in the conversation, it says Hi and shows up the three possible replies and I can click on them and I get the hoover effect but nothing else happens. I'm only able to call the menu, which works fine.
So, please.. heeeelp :)

Cheers
Last edited by ErDE on Wed May 12, 2021 1:47 pm, edited 1 time in total.
User avatar
Tony Li
Posts: 22163
Joined: Thu Jul 18, 2013 1:27 pm

Re: Textine Framework Player Buttons not working

Post by Tony Li »

Hi,

Are there any errors or warnings in the Console window?

Do the Textline example scenes work in a new, empty project with only the Dialogue System and Textline?

What versions of Unity and the Dialogue System are you using?
ErDE
Posts: 5
Joined: Wed May 12, 2021 6:56 am

Re: Textine Framework Player Buttons not working

Post by ErDE »

Hi,

only a warning: Component at index 3 could not be loaded when loading game object 'Main Camera'. Removing it!

I'm using 2019.4.26f1 Personal

I didn't set-up a new Project as all other scenes of the examples work, even my AD-Import with the Standard-UI.

Edit: There is another one, when double-clicking a scene (0 Start): Component GUI Layer in Main Camera for Scene Assets/Dialogue System Extras/Textline/Scenes/0 Start.unity is no longer available.
It will be removed after you edit this GameObject and save the Scene.
UnityEngine.GUIUtility:ProcessEvent (int,intptr)

If I load Scene 3 the error is: Component GUI Layer in Main Camera for Scene Assets/Dialogue System Extras/Textline/Scenes/3 Gameplay.unity is no longer available.
It will be removed after you edit this GameObject and save the Scene.
UnityEngine.GUIUtility:ProcessEvent (int,intptr)
ErDE
Posts: 5
Joined: Wed May 12, 2021 6:56 am

Re: Textine Framework Player Buttons not working

Post by ErDE »

Ok, I created a totally new Project with only DS, MenuFramework and Textline.
Same behavior... Reply Buttons do nothing...
ErDE
Posts: 5
Joined: Wed May 12, 2021 6:56 am

Re: Textine Framework Player Buttons not working

Post by ErDE »

Same in Unity 2019.4.24f1.
User avatar
Tony Li
Posts: 22163
Joined: Thu Jul 18, 2013 1:27 pm

Re: Textline Framework Player Buttons not working

Post by Tony Li »

I confirmed the issue. To fix it, inspect the Textline Dialogue UI's Response Button Template. Remove the unassigned element from the OnClick() UnityEvent.

In DS version 2.2.16, response buttons that have something assigned to OnClick() are not automatically configured to call StandardUIResponseButton.OnClick. The Response Button Template accidentally has an element in the OnClick() event, but it's empty so you can remove it. I'll update the Textline package on the Extras page today, too.
ErDE
Posts: 5
Joined: Wed May 12, 2021 6:56 am

Re: Textline Framework Player Buttons not working

Post by ErDE »

Yeah, works! Must be difficult to keep track of all your frameworks and dependencies when updating.
Thanks for the quick help.

Cheers
User avatar
Tony Li
Posts: 22163
Joined: Thu Jul 18, 2013 1:27 pm

Re: Textline Framework Player Buttons not working

Post by Tony Li »

The core asset gets thorough automated testing before release, but extras get checked on a different frequency. I try to run third party integrations through automated testing, but that's always a game of catch-up since other publishers are constantly releasing updates to their assets, too. So I appreciate it when users let me know if something has gotten out of date or an extra isn't working. (Thanks!)

I updated the Textline package on the Extras page. It's the same change as in this thread, so no need to download it.
Post Reply