Help Updating a Plugin

Godot Version

Godot Version 4.2.1

Question

I am trying to update my project from Godot 3.5 to 4.2.1, and in my 3.5 version project I was using the dialogic plugin. When I updated Godot I also updated my dialogic plugin by deleting my addons folder and adding the compatible dialogic version, but when I try to enable dialogic in the plugin menu I get a popup warning message that says:

“Can’t add Autoload:
Invalid name.
Must not collide with an existing global script class name.”

and when I try to run my project I get an error in this code block:

func _input(event):
if get_node_or_null(“DialogNode”) == null:
if event.is_action_pressed(“ui_accept”) and active:
get_tree().paused = true
var dialog = Dialogic.start(“timeline-” + item_name)
dialog.process_mode = Node.PROCESS_MODE_ALWAYS
dialog.connect(“timeline_end”, Callable(self, “unpause”))
add_child(dialog)

at the line:

		var dialog = Dialogic.start("timeline-" + item_name)

the error says:

“Could not find script for class “Dialogic”.”

Any help is appreciated thank you.

1 Like

Sounds like it is already existing so it won’t let you use the same name again. Not sure what is going on but I you could try going back to the 3.5 version, disabling the plugin before deleting it, and then doing all the upgrade stuff.

2 Likes

You were right I have to: Disable Dialogic → delete addons folder and other dialogic folder → update Godot → install new version of dialogic. Thank you!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.