Skip to content
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

DialogicTimeline fails to load on install #2514

Open
conradc2022 opened this issue Jan 11, 2025 · 0 comments
Open

DialogicTimeline fails to load on install #2514

conradc2022 opened this issue Jan 11, 2025 · 0 comments

Comments

@conradc2022
Copy link

The problem

Describe the bug
An error stating that the DialogicTimeline is not defined in the DialogicGameHandler class occurred after installing then enabling the addon for the first time.

To Reproduce
Steps to reproduce the behavior:

  1. Install and activate Dialogic 2 following the instructions in the documentation.
  2. Click on 'Run Current Scene' without using any Dialogic features.
    The bug does not occur with every single run, but frequent enough to be an issue.

Expected behavior
No error should occur when 'Run Current Scene' is pressed if Dialogic is enabled but not in use.

Screenshots
If applicable, add screenshots to help explain your problem.

System (please complete the following information):

  • OS: Windows
  • Godot Version: 4.2.2 and 4.3
  • Dialogic Version: 2.0 Alpha 16

Solutions

Workaround

What you tried to get the feature working

Updated from Godot 4.2.2 to 4.3
After experiencing the issue with 4.3, I added the line:
const DialogicTimeline = preload("res://addons/dialogic/Resources/timeline.gd")
to res://addons/dialogic/Core/DialogicGameHandler.gd
After running the scene with the code change, the error did not occur. I removed the code change, and the error did not occur.

Possible fixes

Any idea to fix the issue or a link to the line of code that might be the cause for this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant