Skip to content
NP Editor Docs
This is not the latest version — view the latest

Troubleshooting

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.

  1. Click Tools > Plugin Manager….
  2. Select the plugin row and read the Status column and the reason in the detail line below the list.
  3. In the Window menu, open Output Log and find the lines that start with [Plugin <id>].
  4. Find the same symptom · reason in the tables below, fix it, then click Rescan or Reload (selected).
  • 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/catch and log the stack with host.Log(e.ToString()) (Testing and debugging).
SymptomCauseFix
Not in the manager listplugin.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 listIt was put in another folderPut 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 listIt is in a folder pointed to by the NP_EDITOR_PLUGINS environment variableThe 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 yetCheck Enable or click Reload (selected).
Enable is checked but the plugin does not enable and a confirmation window appearsDon’t load this time was clicked in the first confirmation windowClick Trusted — load in the confirmation window.
“Approval needed” again after moving the folderApproval is remembered by id and the full folder pathCheck Enable again.
“Error (file)” plugin.json format error: …JSON syntax errorFix the quotes · commas · brackets. // comments and trailing commas are allowed.
“Error (file)” Invalid id formatStarts with an uppercase letter · - · a digitStart with a lowercase letter and use only lowercase letters, digits, _ and ..
“Error (file)” Invalid version formatWritten with two parts like 1.0, or as a numberWrite a three-part string like "1.0.0".
“Error (file)” Missing sdk (required SDK version …) · Invalid sdk versionThe sdk field is missing or invalidWrite it in the form "^1.0".
“Error (file)” Missing dll (e.g. "MyPlugin.dll")The dll field is missing or does not end in .dllUse 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 dllWrite 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 folderThe dll or a folder on its path is a linkCopy the dll into the plugin folder instead of linking it.
“Error (file)” Invalid entry formatentry contains an assembly name · a comma · bracketsUse only Namespace.Class (+ for nested classes).
“Error (file)” dll not foundNot built, or a different nameMatch 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 folderDelete one of them or change the id.
“Error (isolated)” Load failed: … entry type not foundWrong namespace or class name in entryMatch the full name, including case.
“Error (isolated)” Load failed: … No INpEditorPlugin implementationThere is no entry class, or it is abstract, or it has no public parameterless constructorGive 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 constructorCheck the implementation and the constructor. Also check that the csproj references the SDK with Private=false.
“Error (isolated)” Load failed: …Exception in RegisterFix the exception shown in the Output Log. See the “Registration” table below.
“Version mismatch” Requires SDK ^1.6 — this editor has 1.5.0The sdk range is higher than the editor SDKUpdate the editor, or lower sdk to match the features you use.
“Version mismatch” Load failed: MissingMethodException and similarBuilt with a newer SDK and enabled in an older editor · sdk set too lowRaise sdk to the version of the features you actually use.
A dll built for a newer target such as net9.0 does not enableThe .NET runtime inside the editor is 8Set 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 pluginPrefix Type with your own name (for example myplugin_chat).
SymptomCauseFix
“Error (isolated)” … is empty right after enablingId · command name · actor kind · shortcut name · key · show flag name is an empty stringFill in the empty field.
“Error (isolated)” Can't parse shortcut keyKey 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 typeThe 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 appearA command with the same name already exists · the name contains spacesPrefix the name with your own name and remove the spaces.
A menu appears in the wrong placeTypo in the Menu name (a new menu is created)Use one of "파일" · "편집" · "창" · "도구" · "빌드" · "도움말" (File · Edit · Window · Tools · Build · Help).
The panel is not visiblePanels are created closedCheck that panel in the Window menu.
The mode is not visible in the mode rowModes after the first 8 are in the More modes listClick the More modes button (down arrow) at the end of the mode row.
Symbols in menu or panel names disappearPictographic characters are stripped on screenUse text only, and give the icon as an icon name in the Icon field.
SymptomCauseFix
“Error (isolated)” during useException 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.EditAnother large edit (fill · terrain) is in progressTry again after it finishes. Catch the exception and turn it into a notification.
Blocks do not change · the return value is smallLocked 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 placedTypo in the block state string · missing namespace. The editor does not check the state string; it inserts it as isWrite it exactly, as in minecraft:stone_bricks.
You have to use Ctrl+Z several times to revertEdit was called several timesWrap one operation in a single Edit.
Drawings · state from the previous world remain in a new worldNot cleared in WorldChangedhost.WorldChanged += _ => { …Clear(); host.Draw.Clear(); };
The editor stutters while editingThe Committed handler is heavyOnly count, and do heavy work later.
The editor stutters when the panel is openLive text (Label(() => …)) scans the worldKeep values in fields and only read them in the text.
A panel number field differs from the saved valueThe panel is built once when the plugin enablesRead Settings first at the start of Register.
No block is placed even though a mode’s OnClick returns falseModes 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 falseNot in Play · the value is NaNCheck host.View.Playing first.
host.WorldChanged -= … has no effectHost events do not support -=Filter with a flag inside the handler.
Settings disappearedThe settings file was corrupt, so the plugin started with empty settingsCheck plugin_settings\<id>.json.bad.
MissingMethodException · MissingFieldException · NullReferenceException only in the installed buildReflection by name on editor internals (non-public types · members) — the installed build changes non-public namesUse only the public SDK API.
A debugger does not attach to the installed NPEditor.exeThe installed build turns off .NET diagnosticsDebug with the Output Log · exception stacks · unit tests. Testing and debugging
SymptomCauseFix
A rebuild is not reflectedThe old dll remains in the plugin folder · not reloadedOverwrite with the new dll and Reload (selected)
Rescan does not reflect changesPlugins already on are not reloadedUse Reload (selected).
Not unloaded from memory after disablingYour objects remain in static events · timers · threadsRelease them in IDisposable.Dispose. Unhook host.Account.Changed with -= here too.
Background work keeps running after disablingTask.Run work was not stoppedStop it with a CancellationToken in Dispose.
  • plugin.json: id rules · three-part version · sdk = minimum version of the features used · dll · entry names are correct.
  • The target is net8.0.
  • The folder does not contain NP.Editor.Sdk.dll (csproj Private=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.
  • Dispose releases background work and static events.
  • No secret keys, tokens or personal paths in code or files.