-
-
Notifications
You must be signed in to change notification settings - Fork 215
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
Not able to play the timeline in-game more than once #2321
Comments
Can you share what version of dialogic 2 you use and the code you use to start that timeline? |
There are many (alpha) versions of Dialogic 2, it's quite important to know which one specifically you are on. The latest release for example is Dialogic 2 alpha 14. The version is indicated in the lower left of the dialogic interface or on the dialogic home screen. |
i am using dialogic 2 Alpha 15 and one thing i noticed was that, i can play only one timeline. What i mean is that I have two timelines right now, one activates when my character moves too close to the water, and the other one is the NPC one. So if I talk to the NPC and then go near the water, i will face the same error mentioned in the main post and this is true for the other way around too, that is if i go near the water and then come to my NPC to talk, it will throw that error. (script to start the dialogue) (calling that function here) (This is the water detection timeline) Don't mind the NearWater variable, I was thinking for a way to fix this issue, but that was not it. |
@Jowan-Spooner any fixes yet? |
Hey @Adi1614 I have not been able to reproduce this yet. If anyone could make a Minimal Reproduction Project and share it here or send it to me on discord, that could help a lot. |
@Jowan-Spooner i have made this small project to imitate the error. i have tried starting the dialog from every node possible to see if it makes any difference, but it didn't. Currently the dialogue is being called in the Area2D script which is associated with the NPC. You will get to know once you open it up. Thank you Edit: Walk upto the NPC it will trigger the dialogue and then come back and then once again proceed to trigger the dialogue. |
Thank you, I will try it right now. |
@Adi1614 Sorry, this was autoclosed, but I'm hoping it's actually fixed on the main branch now. If you could try and let me know if it works for you now, that would be perfect! |
When I go back to my npc to re-watch the timeline, it gives an error "trying to return a previously freed instance".
I have chosen the visual novel style and I have a NPC that has a timeline associated with it, and once I interact with the NPC and try to comeback and have the same conversation (re-watch the timeline) the game crashes due to the above mentioned error. It is not an error in my scripts. It is an error in 557th line of subsystem_portraits.gd.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expected the timeline to begin again and run as it as ran the previous time.
Screenshots
System (please complete the following information):
The text was updated successfully, but these errors were encountered: