-
-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DialogueException: Cannot continue running dialogue. No node has been selected. #262
Comments
This is using the latest 2.4.0 release. DialogueException: Cannot continue running dialogue. No node has been selected. |
I would recommend calling I am going to close this issue as the solution is to not call stop on the dialogue but on the runner. |
Okay. I changed my code to call Runner.Stop instead, but unfortunately the bug is still happening. The presence of LineView.DismissLineInternal high in the call stack (LineView.cs line 278) makes me think that the view dismissing itself is what is causing this issue. The code to dismiss the line view seems to be checking continue after it's already been stopped. |
Also, here is the DialogueRunner.Stop method. It doesn't appear to be doing anything with the views.
|
The If the issue is still happening though I will reopen the issue but can you give more information as to how you are triggering this? |
Yes. It's still happening. I'm wondering if HandleDialogComplete is not getting run for some reason. I suspect that it has something to do with the Auto Advance setting on the Line View. The exception seems to happen about a half second after the dialog is skipped (via Runner.Stop) as shown in this screenshot console log time stamps. I also show my line view inspector so you can match my settings. |
I've confirmed that HandleDialogComplete is running and calling LineView.DialogueComplete correctly. Also I've confirmed that the exception does not happen with Auto Advance off, but then sometimes text will be left on the screen after a cancel when Auto-Advance is turned off. |
thanks, investigating. |
On Thu, Jan 18, 2024 at 7:33 PM Tim Nugent ***@***.***> wrote:
Closed #262
<#262> as
completed via 010611a
<010611a>
.
—
Reply to this email directly, view it on GitHub
<#262 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHAUOEZ4BPJSNCZGK4LDETYPHLQ3AVCNFSM6AAAAABBR7L7GWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGUZTEMBWG44TCOA>
.
You are receiving this because you authored the thread.Message ID:
<YarnSpinnerTool/YarnSpinner-Unity/issue/262/issue_event/11532067918@
github.com>
|
Often after Runner.Dialogue.Stop(); is called I am seeing the following exception.
Could you please not throw an exception when dialog is stopped and using the standard LineView?
The text was updated successfully, but these errors were encountered: