Godot:Plugins
lastmod 2023-03-29created 2020-11-304 edits
Troubleshooting
There seems to be an error in the code, please check the syntax
The following error occurs when you click to switch a plugin to Enable in the Plugins tab of Project Settings.
Unable to load addon script from path: 'res://addons/MusicXmlResource/MusicXmlResource.cs' There seems to be an error in the code, please check the syntax
If you are using C#, you need to build the project.
Script is not in tool mode
The following error occurs when you click to switch a plugin to Enable in the Plugins tab of Project Settings.
Unable to load addon script from path: 'res://addons/MusicXmlResource/MusicXmlResource.cs' Script is not in tool mode
If you are using C#, you need to add the [Tool] Attribute to the script.
#if TOOLS
using Godot;
using System;
[Tool]
public class CustomNode : EditorPlugin
{
public override void _EnterTree()
{
// Initialization of the plugin goes here.
}
public override void _ExitTree()
{
// Clean-up of the plugin goes here.
}
}
#endif
See also
Pages that link here