Resource saver not saving

Godot Version 4.2

Hey all! So I got my resource loader to work, but it turns out… my save system wasn’t actually working. Or at least not working 100%. Currently when I go to save my dialogue, it creates a new custom resource and stores everything there. The new custom resource is created, but none of the information is actually being stored, and not really sure why not.

func _on_file_selected(path: String, save_data: Dictionary):
	var new_dialogue = CONVO.new()
	new_dialogue.node_graph = save_data
	new_dialogue.convo_name = "Testing this out"
	var result = ResourceSaver.save(new_dialogue, path)
	
	if result == OK:
		print("Resource Saved!")
		if Engine.is_editor_hint():
			var editor_interface = get_editor_interface()
			if editor_interface:
				var editor_fs = editor_interface.get_resource_filesystem()
				editor_fs.scan()
	else:
		print("Failed to save")

This is the code that should be saving the resource. As you can see, it makes a new CONVO resource, then it sets a few variables. My test variable right now is the convo_name, since its just a simple String. So it should be setting the convo_name to “Testing this out”, but after I save the file (and yes, a new file is created) when I open up the new file, the convo_name is still blank. It didn’t actually save it.

Any ideas why this might be happening? Last time it was something small that I missed, I bet that is the case this time too haha

Hey hey. Please, show your resource code for “CONVO”.