Page 1 of 1
Autoskip on dialogues after updating unity.
Posted: Thu Apr 14, 2022 8:03 am
by juanchodeth
Hi, came back here because this is bugging me hard and could not find what is causing it.
I don't know if that was the issue, but this started when I upgraded the unity version (from a previous 2019 version to the actual LTS 2019.4.37.f1).
So the problem is that all the dialogues (never happened before), started to skip the messages during conversations, after some time (like there was a Continue()@x seconds running, but happens in all of the dialogues, even the ones without any sequence on them).
The texts have their continue button script that worked until now, and seems that you can keep skipping them with the button if you click it before that autoskipping.
Any clue why this is happening so suddenly? Can give more info or screenshots if they are needed.
Thanks in advance for the help!
Re: Autoskip on dialogues after updating unity.
Posted: Thu Apr 14, 2022 8:25 am
by Tony Li
Hi,
Did you update the Dialogue System, too, or just Unity?
If you updated the Dialogue System, and if you had previously modified Dialogue System files or prefabs directly, the update may have overwritten your modified files with the standard versions in the update. If you're using version control (which is a good idea with any project), examine your version control history to see what changed.
Check your Dialogue Manager GameObject's Subtitle Settings and Camera & Cutscene Settings. If you need to modify them, I recommend saving your modified version as a prefab variant or new prefab. This way you'll keep your customizations when updating the Dialogue System.
Similarly, if you previously modified any Dialogue System scripts, then in the future use subclasses or event hooks instead. There shouldn't be any need to directly modify any Dialogue System scripts. If you have a question about how to override any behavior, let me know. I can probably point you to a method to do that without modifying scripts.
Re: Autoskip on dialogues after updating unity.
Posted: Thu Apr 14, 2022 9:16 am
by juanchodeth
Just Unity, the last time I upgraded the dialogue system was while ago and stuff worked as intended.
Checked the Dialogue manager and seems to be as it was before and the only stuff I changed were some sequences, so should not be the issue here I guess.
- 84be828d391d44bd2d28b1562a674b47.png (33.93 KiB) Viewed 913 times
The time for the skip is always the same, like 6 seconds from when they start. In the debug mode I found those delay prints, but can't find where they get called, not from the dialogue sequences...
- 3ca8636567ebde8a27cf6095e83bfb5c.png (37.03 KiB) Viewed 913 times
Re: Autoskip on dialogues after updating unity.
Posted: Thu Apr 14, 2022 9:30 am
by Tony Li
Hi,
From that Console screenshot, I'm guessing your Dialogue Manager GameObject's Display Settings > Camera & Cutscene Settings > Default Sequence is set to something like: Delay({{end}})
That's fine. If you aren't requiring the player to click the continue button to advance the conversation, it will automatically advance after a duration determined by the text length (the {{end}} value).
If you want to require the player to click the continue button to advance, make sure the Dialogue Manager's Display Settings > Subtitle Settings > Continue Button dropdown is set to a value such as Always.
Re: Autoskip on dialogues after updating unity.
Posted: Thu Apr 14, 2022 10:01 am
by juanchodeth
Yeah, in the first screenshot I attached before, I have the continue button as always, and the Delay(end) as defalt sequence, but removing that default sequence seems to do nothing with the skip.
And yeah, I want to force the player to hit the button to skip to the next dialogue (or walk away from the trigger to close the conversation).
Now the dialogue manager looks like this.
- 4c8aeb32095a1e6296ca4084ac78b975.png (37.52 KiB) Viewed 909 times
Summarizing, the skip is still happening even without the default sequence.
Re: Autoskip on dialogues after updating unity.
Posted: Thu Apr 14, 2022 10:54 am
by Tony Li
Hi,
Please set the Dialogue Manager's Default Sequence back to Delay({{end}})
It's possible to override values such as the Continue Button mode for individual conversations. Inspect your conversation in the Dialogue Editor. Select Menu > Conversation Properties. Is Override Dialogue Settings ticked? If so, is the subheading Subtitle Settings > Continue Button set to a different value?
Is it possible that a different Dialogue Manager GameObject is being used? Perhaps one whose Continue Button dropdown isn't set to Always?
Are there any errors or warnings in the Console window?
Please feel free to send a
reproduction project to tony (at) pixelcrushers.com
Re: Autoskip on dialogues after updating unity.
Posted: Thu Apr 14, 2022 2:49 pm
by juanchodeth
Oh, I think I spoted the problem and was on my side, for you to know, there was a loop conversation from the loading canvas out of camera, so when other dialogue opened, when the first conversation wanted to switch to the next dialogue of the loop, changed in the second one too... my fault, sorry to bother you and thanks a lot for the help!
Re: Autoskip on dialogues after updating unity.
Posted: Thu Apr 14, 2022 3:12 pm
by Tony Li
No worries; I'm glad you found the issue!