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

Dialog node doesn't load text in an exported project #34

Closed
InitialCon opened this issue Jan 19, 2021 · 4 comments
Closed

Dialog node doesn't load text in an exported project #34

InitialCon opened this issue Jan 19, 2021 · 4 comments
Milestone

Comments

@InitialCon
Copy link

When exporting a project that contains a dialog_node the node only displays the default text even when supplied with a timeline and only uses the default settings. The node works when loading in the editor however where it displays the correct text and uses the correct settings

Error as reported by godot debug output(image attached):
Dialogic_issue

SCRIPT ERROR: parse_branches: Invalid get index 'events' (on base: 'Dictionary').
At: res://addons/dialogic/Nodes/dialog_node.gdc:64
(1024, 600)
[!] settings loaded: {}

dialog_node.gd loading settings
{}

SCRIPT ERROR: load_theme: Invalid get index 'theme_font' (on base: 'Dictionary').
At: res://addons/dialogic/Nodes/dialog_node.gdc:441
SCRIPT ERROR: load_dialog: Invalid call. Nonexistent function 'has' in base 'Nil'.
At: res://addons/dialogic/Nodes/dialog_node.gdc:191

Screenshot from the exported project:
Dialogic_text

@coppolaemilio
Copy link
Collaborator

I think that you need to add some extra information when exporting so that it will include the *.json files. I'll try to export something myself and make a small tutorial on how to export it.

@coppolaemilio coppolaemilio added this to the Version 1.0 milestone Jan 19, 2021
@InitialCon
Copy link
Author

InitialCon commented Jan 19, 2021

Thanks, I tried manually including the json files but that still lead to the same error being given so I think it might not be the json files that are causing the issue.

Edit additional note: The export option used was set to include all files as well as manually including the json files. I've tested this in a blank project and it is reproducible there.

@InitialCon
Copy link
Author

Thanks for the tip in the readme on how to fix the issue. Closing the issue.

@coppolaemilio
Copy link
Collaborator

Yes! Sorry I didn't tag you, I was going to check tickets again today and reply :)

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

No branches or pull requests

2 participants