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

Various errors involving texture metadata, history_layer.gd and project setting: autoload/Dialogic after importing addon #2221

Open
hsandt opened this issue May 8, 2024 · 0 comments

Comments

@hsandt
Copy link

hsandt commented May 8, 2024

The problem

Describe the bug
Right after copying the Dialogic folder to the addons/ folder on a new Godot v4.2.2 project, I got many errors:

Missing required editor-specific import metadata for a texture (please reimport it using the 'Import' tab): 'res://.godot/imported/default.svg-3f34de5e45bef5de4d9c15ef78c00c6c.editor.meta'
...
Missing required editor-specific import metadata for a texture (please reimport it using the 'Import' tab): 'res://.godot/imported/icon.svg-cb8e50b081a310c64183b12c6d12fcf2.editor.meta'
res://addons/dialogic/Modules/DefaultLayoutParts/Layer_History/history_layer.gd:56 - Parse Error: Identifier "Dialogic" not declared in the current scope.
res://addons/dialogic/Modules/DefaultLayoutParts/Layer_History/history_layer.gd:57 - Parse Error: Identifier "Dialogic" not declared in the current scope.
modules/gdscript/gdscript.cpp:2726 - Failed to load script "res://addons/dialogic/Modules/DefaultLayoutParts/Layer_History/history_layer.gd" with error "Parse error". (User)
Request for nonexistent project setting: autoload/Dialogic.
core/config/project_settings.cpp:365 - Property not found: autoload/Dialogic

Opening history_layer.gd in code editor shows no parsing error.

I opened the plugins window to enable the plugin but the checkbox refused to be checked. After playing once (although I got other runtime errors of Node not found), I noticed the plugin was enabled (I can even disable and re-enable it but enable takes a long time). From there the errors disappeared, so it seems one-time only.

To Reproduce
Steps to reproduce the behavior:

  1. Copy the addon v2 alpha 13 release folder to project addons/ folder
  2. Focus Godot to refresh (or open Godot if not opened yet)
  3. See errors in Output

Expected behavior
No errors for just installing the addon

System (please complete the following information):

  • OS: Linux Ubuntu 22.04
  • Godot Version: v4.2.2.stable.official [15073afe3]
  • Dialogic Version: v2 alpha 13

Solutions

Workaround

Run the game once, errors disappear. Check that plugin is now enabled.

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

1 participant