This is not the latest version — view the latest
Troubleshooting
Overview
Section titled “Overview”This page helps you find the cause and the fix by symptom when a plugin is missing from the list, does not enable, or gets disabled during use. Check the status and the reason in the order of “Basic use” below, then find the same symptom in the tables under “Reference”. The meaning of each status is in Loading and lifecycle.
Basic use
Section titled “Basic use”- Click Tools > Plugin Manager….
- Select the plugin row and read the Status column and the reason in the detail line below the list.
- In the Window menu, open Output Log and find the lines that start with
[Plugin <id>]. - Find the same symptom · reason in the tables below, fix it, then click Rescan or Reload (selected).
Tips and tricks
Section titled “Tips and tricks”- The reason text in the detail line appears in the “Symptom” column of the tables below exactly as the editor shows it. Search the tables for part of the text.
- For an “Error (isolated)” plugin, overwrite the fixed dll and retry with a single Reload (selected). You do not need to restart the editor.
- If the editor has closed and you cannot see the Output Log, look for the “Plugin ’…’ disabled due to an error” line in
%APPDATA%\NPEditor\logs\godot.log. - For an exception whose cause is unclear, wrap that callback in
try/catchand log the stack withhost.Log(e.ToString())(Testing and debugging).
Reference
Section titled “Reference”Loading
Section titled “Loading”| Symptom | Cause | Fix |
|---|---|---|
| Not in the manager list | plugin.json is not directly in the folder (it is one level deeper) | Move it so the layout is plugins\<folder>\plugin.json. |
| Not in the manager list | It was put in another folder | Put it in the folder that Tools > Open plugin folder opens. The top of the manager window lists every folder that is read. |
| Not in the manager list | It is in a folder pointed to by the NP_EDITOR_PLUGINS environment variable | The installed build does not read this variable. Copy it into the plugin folder (“Copy after build” in Testing and debugging). |
| Stays at “Approval needed” | A new plugin folder that has not been allowed yet | Check Enable or click Reload (selected). |
| Enable is checked but the plugin does not enable and a confirmation window appears | Don’t load this time was clicked in the first confirmation window | Click Trusted — load in the confirmation window. |
| “Approval needed” again after moving the folder | Approval is remembered by id and the full folder path | Check Enable again. |
“Error (file)” plugin.json format error: … | JSON syntax error | Fix the quotes · commas · brackets. // comments and trailing commas are allowed. |
“Error (file)” Invalid id format | Starts with an uppercase letter · - · a digit | Start with a lowercase letter and use only lowercase letters, digits, _ and .. |
“Error (file)” Invalid version format | Written with two parts like 1.0, or as a number | Write a three-part string like "1.0.0". |
“Error (file)” Missing sdk (required SDK version …) · Invalid sdk version | The sdk field is missing or invalid | Write it in the form "^1.0". |
“Error (file)” Missing dll (e.g. "MyPlugin.dll") | The dll field is missing or does not end in .dll | Use the dll name from the build output. |
“Error (file)” dll must be next to plugin.json (or in a subfolder) | .. · . · an absolute path · : · wildcards · a segment ending in a dot or space in dll | Write a path relative to plugin.json. See “dll and entry rules” in plugin.json. |
“Error (file)” dll path points outside the plugin folder · dll is a link pointing outside the plugin folder · dll path contains a linked folder | The dll or a folder on its path is a link | Copy the dll into the plugin folder instead of linking it. |
“Error (file)” Invalid entry format | entry contains an assembly name · a comma · brackets | Use only Namespace.Class (+ for nested classes). |
“Error (file)” dll not found | Not built, or a different name | Match the dll field to the dll name in the build output. |
“Error (file)” Id … already exists (using the earlier folder's) | The same id in another folder | Delete one of them or change the id. |
“Error (isolated)” Load failed: … entry type not found | Wrong namespace or class name in entry | Match the full name, including case. |
“Error (isolated)” Load failed: … No INpEditorPlugin implementation | There is no entry class, or it is abstract, or it has no public parameterless constructor | Give public sealed class Plugin : INpEditorPlugin a parameterless constructor. |
“Error (isolated)” Load failed: … is not an INpEditorPlugin (parameterless constructor) | The entry class does not implement INpEditorPlugin or has no constructor | Check the implementation and the constructor. Also check that the csproj references the SDK with Private=false. |
“Error (isolated)” Load failed: … | Exception in Register | Fix the exception shown in the Output Log. See the “Registration” table below. |
“Version mismatch” Requires SDK ^1.6 — this editor has 1.5.0 | The sdk range is higher than the editor SDK | Update the editor, or lower sdk to match the features you use. |
“Version mismatch” Load failed: MissingMethodException and similar | Built with a newer SDK and enabled in an older editor · sdk set too low | Raise sdk to the version of the features you actually use. |
A dll built for a newer target such as net9.0 does not enable | The .NET runtime inside the editor is 8 | Set TargetFramework in the csproj to net8.0. |
“Version mismatch” Not loaded: overlaps a built-in feature — … | A world logic type collides with a built-in type (0.10.2 = 157) or another plugin | Prefix Type with your own name (for example myplugin_chat). |
Registration
Section titled “Registration”| Symptom | Cause | Fix |
|---|---|---|
“Error (isolated)” … is empty right after enabling | Id · command name · actor kind · shortcut name · key · show flag name is an empty string | Fill in the empty field. |
“Error (isolated)” Can't parse shortcut key | Key strings such as "1~8" · "W/E/R" · "Ctrl++" | Write it in the form "Ctrl+Alt+H". See the key table in Registration points. |
| “Version mismatch” related to a scene event type | The same Type already exists in the same role (cinematic · chat · in 0.10.2 gate · stop · switch and so on) | Prefix Type with your own name. |
| A console command does not appear | A command with the same name already exists · the name contains spaces | Prefix the name with your own name and remove the spaces. |
| A menu appears in the wrong place | Typo in the Menu name (a new menu is created) | Use one of "파일" · "편집" · "창" · "도구" · "빌드" · "도움말" (File · Edit · Window · Tools · Build · Help). |
| The panel is not visible | Panels are created closed | Check that panel in the Window menu. |
| The mode is not visible in the mode row | Modes after the first 8 are in the More modes list | Click the More modes button (down arrow) at the end of the mode row. |
| Symbols in menu or panel names disappear | Pictographic characters are stripped on screen | Use text only, and give the icon as an icon name in the Icon field. |
Runtime
Section titled “Runtime”| Symptom | Cause | Fix |
|---|---|---|
| “Error (isolated)” during use | Exception in a callback (menu · command · event · panel text · Simulate) | Read Error → isolated — <where>: … in the Output Log, fix it, then Reload (selected) |
InvalidOperationException from World.Edit | Another large edit (fill · terrain) is in progress | Try again after it finishes. Catch the exception and turn it into a notification. |
| Blocks do not change · the return value is small | Locked cells (Co-building region lock · locked actor · protected area · cell guard) | Check the return value (number of changed cells) and tell the user. |
| The expected block is not placed | Typo in the block state string · missing namespace. The editor does not check the state string; it inserts it as is | Write it exactly, as in minecraft:stone_bricks. |
| You have to use Ctrl+Z several times to revert | Edit was called several times | Wrap one operation in a single Edit. |
| Drawings · state from the previous world remain in a new world | Not cleared in WorldChanged | host.WorldChanged += _ => { …Clear(); host.Draw.Clear(); }; |
| The editor stutters while editing | The Committed handler is heavy | Only count, and do heavy work later. |
| The editor stutters when the panel is open | Live text (Label(() => …)) scans the world | Keep values in fields and only read them in the text. |
| A panel number field differs from the saved value | The panel is built once when the plugin enables | Read Settings first at the start of Register. |
No block is placed even though a mode’s OnClick returns false | Modes with OnClick do not place the default block (the return value is not used) | If you need a block, place it with World.Edit inside OnClick. |
SetCamera returns false | Not in Play · the value is NaN | Check host.View.Playing first. |
host.WorldChanged -= … has no effect | Host events do not support -= | Filter with a flag inside the handler. |
| Settings disappeared | The settings file was corrupt, so the plugin started with empty settings | Check plugin_settings\<id>.json.bad. |
MissingMethodException · MissingFieldException · NullReferenceException only in the installed build | Reflection by name on editor internals (non-public types · members) — the installed build changes non-public names | Use only the public SDK API. |
A debugger does not attach to the installed NPEditor.exe | The installed build turns off .NET diagnostics | Debug with the Output Log · exception stacks · unit tests. Testing and debugging |
Reload · disable
Section titled “Reload · disable”| Symptom | Cause | Fix |
|---|---|---|
| A rebuild is not reflected | The old dll remains in the plugin folder · not reloaded | Overwrite with the new dll and Reload (selected) |
| Rescan does not reflect changes | Plugins already on are not reloaded | Use Reload (selected). |
| Not unloaded from memory after disabling | Your objects remain in static events · timers · threads | Release them in IDisposable.Dispose. Unhook host.Account.Changed with -= here too. |
| Background work keeps running after disabling | Task.Run work was not stopped | Stop it with a CancellationToken in Dispose. |
Pre-release checklist
Section titled “Pre-release checklist”-
plugin.json:idrules · three-partversion·sdk= minimum version of the features used ·dll·entrynames are correct. - The target is
net8.0. - The folder does not contain
NP.Editor.Sdk.dll(csprojPrivate=false). - Placed in an empty plugin folder, it becomes “On” with Rescan → checking Enable.
- No exception lines in the Output Log.
- Menus · panels · modes are not duplicated or left behind after enable → disable → enable.
- No previous state remains after a new world or opening another world (
WorldChanged). - One use of a feature reverts with one Ctrl+Z.
- No exceptions with no selection or an empty world.
- Command names, world logic types and actor kinds start with your own name.
- No emoji or pictographic characters in on-screen text.
- Shortcuts do not collide with built-in keys (no red rows in Tools > Shortcuts…).
- If you added world logic types, the server-side handlers (NPBridge
SceneEventsApi) are ready too. -
Disposereleases background work and static events. - No secret keys, tokens or personal paths in code or files.
Related pages
Section titled “Related pages”Not an official Minecraft product. Not approved by or associated with Mojang or Microsoft.