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!
Autoskip on dialogues after updating unity.
-
- Posts: 8
- Joined: Fri Feb 11, 2022 1:55 pm
Re: Autoskip on dialogues after updating unity.
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.
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.
-
- Posts: 8
- Joined: Fri Feb 11, 2022 1:55 pm
Re: Autoskip on dialogues after updating unity.
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.
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...
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.
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...
Re: Autoskip on dialogues after updating unity.
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.
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.
-
- Posts: 8
- Joined: Fri Feb 11, 2022 1:55 pm
Re: Autoskip on dialogues after updating unity.
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.
Summarizing, the skip is still happening even without the default sequence.
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.
Summarizing, the skip is still happening even without the default sequence.
Re: Autoskip on dialogues after updating unity.
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
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
-
- Posts: 8
- Joined: Fri Feb 11, 2022 1:55 pm
Re: Autoskip on dialogues after updating unity.
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.
No worries; I'm glad you found the issue!