You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If the .godot folder is removed and needs to be generated again. The plugin will enter a broken state which prevents the plugin from running and prevents any scene from being run.
Affected version
Dialogue Manager version: 2.38.0
Godot version: 4.2.1.stable.mono
To Reproduce
Create new Godot Project
Download Dialogue Manager Addon
Create test.dialogue file
Create Node2D Scene and save
Attach script to Node2D scene
Call test.dialogue file on first frame of _PhysicsProcess (Not strictly required but that is where I called it from)
private Resource dialogue = GD.Load<Resource>("res://test.dialogue");
private bool first = true;
public override void _PhysicsProcess(double delta) {
if (!first) return;
DialogueManager.ShowExampleDialogueBalloon(dialogue, "this_is_a_node_title", new Array<Variant>() {this});
first = false;
}
Save Project and close Godot
Delete .godot folder
Open project again.
Expected behavior
When the .godot folder is regenerated, the plugin should keep working.
Screenshots
When Godot first loads we get the following parse error messages:
When running the scene the following error stops the scene from loading:
Invalid call. Nonexistent function 'get_next_dialogue_line' in base 'Nil'.
Stackframes (Apparently Godot does not make it easy to copy these or I couldn't find it)
Also when running the scene the following errors show up in the Debugger:
That's an issue with how Godot does a clean load of the file system. Doing a second project reload always works for me whenever I need to empty the .godot cache.
Describe the bug
If the .godot folder is removed and needs to be generated again. The plugin will enter a broken state which prevents the plugin from running and prevents any scene from being run.
Affected version
To Reproduce
test.dialogue
file on first frame of_PhysicsProcess
(Not strictly required but that is where I called it from).godot
folderExpected behavior
When the
.godot
folder is regenerated, the plugin should keep working.Screenshots
When Godot first loads we get the following parse error messages:
When running the scene the following error stops the scene from loading:
Stackframes (Apparently Godot does not make it easy to copy these or I couldn't find it)
Also when running the scene the following errors show up in the Debugger:
Workaround
I found a workaround that seems to get the project back to a working state.
The text was updated successfully, but these errors were encountered: