Plugin troubleshooting
Fixes for building and testing After Effects effect plugins on macOS and Windows - missing tools or SDK, build errors, an effect that does not load or does not change, and After Effects that stops answering.
Most problems have a quick fix. When in doubt, paste the message into your
agent and ask it to explain and fix it. Your agent also has
docs/afterpresets/debugging.md in the project, a longer checklist written
for it. Building an extension (a panel)? See
Extension troubleshooting.
Building
Section titled “Building”- “Cannot build yet: Adobe’s After Effects SDK is not installed”. Ask your agent to install the SDK, then download the After Effects SDK for your system from the page that opens (Adobe ID sign-in). See Adobe’s plugin kit.
- The SDK zip is not accepted. Make sure it is the After Effects
SDK (not Premiere Pro’s), for your system (macOS or Windows), and fully
downloaded. A newer SDK than the tools know may need an update: ask your
agent to run
ap upgrade. - Compiler errors. Normal while your agent works:
ap devlists them with file and line, and the agent fixes them. If the untouched starter does not build, the SDK or a tool is wrong (see above and below).
- “cmake”, “ninja” or “zig” not found. Ask your agent to run
brew install cmake ninja zig. Ifbrewitself is missing, install Homebrew from brew.sh. - “xcrun: error” or no compiler. The Command Line Tools are missing or
broken after a macOS update. Ask your agent to run
xcode-select --install, then click Install.
- “cmake”, “ninja” or “zig” not found. Ask your agent to run the
winget line the message shows, for example
winget install -e --id Kitware.CMake,winget install -e --id Ninja-build.Ninjaorwinget install -e --id zig.zig. Then start a new chat (or open a new terminal) so the new tools are found. - “node” or “npx” not found. Install the LTS version from
nodejs.org (or
winget install -e --id OpenJS.NodeJS.LTS), then start a new chat. - “The macOS version (.plugin) can only be built on a Mac”. Expected on Windows: your releases are Windows-only. See Mac and Windows versions.
- “SDK … is not in AfterPresets’ tested list yet”. A warning, not an error: that Windows SDK download has not been checked by AfterPresets yet. The build continues. Tell AfterPresets support which SDK version you have.
- “Quit After Effects, then build again”. Windows refused to replace the plugin file while After Effects used it. Quit After Effects and save again.
The effect is not in After Effects
Section titled “The effect is not in After Effects”-
Restart After Effects. It loads plugins only when it starts. Your agent tells you when a restart is needed; save your work first. On Windows it is never restarted for you.
-
Did the build install?
ap devshould say “Dev build installed”. If it says the dev plugin folder needs an administrator, this is needed once:Approve the macOS password window if one appears, or paste the one line your agent gives you (it starts with
sudo) into the Terminal app and type your Mac password (nothing shows while you type).Open PowerShell as administrator (right-click Start → Terminal (Admin)), paste the one line your agent gives you, press Enter, and tell the agent “Done”. Your agent never runs this itself.
-
An older installed copy. If you also installed a release of the same plugin with the install script, both copies may load. Remove the installed one (see Uninstall a plugin).
-
Ask your agent to follow
docs/afterpresets/debugging.md: it checks After Effects’ plugin list, its plugin loading log and the built file.
The render does not change after an edit
Section titled “The render does not change after an edit”After Effects still runs the previous build. Restart After Effects. Your agent’s frame captures clear After Effects’ caches, so after a restart the frames show the new code.
After Effects stops answering the agent
Section titled “After Effects stops answering the agent”- A dialog is open in After Effects (an error, a crash report, a licence or update message). Look at After Effects, answer the dialog, and tell your agent.
- After a crash After Effects may offer to start in Safe Mode. Choose normal mode: Safe Mode turns off extensions, including the AfterPresets dev bridge the agent uses. Your agent never force-quits After Effects for this reason; if you have to, expect this prompt.
- The dev bridge is not loaded. Ask your agent to call
host_bridge; it says what to do (usually: restart After Effects once).
The SDK guide could not be downloaded
Section titled “The SDK guide could not be downloaded”The first ap dev converts Adobe’s public SDK guide into
docs/afterpresets/sdk/ for your agent. It needs an internet connection the
first time (GitHub must be reachable). Reconnect and ask your agent to run
npx ap docs. Once downloaded, it works offline for every project.
Buyers who get stuck
Section titled “Buyers who get stuck”Installing, the one-time security prompts, signing in and uninstalling are covered in Help for your buyers.
Still stuck?
Section titled “Still stuck?”Ask your agent to collect the details: the exact message, the output of
ap dev, your macOS or Windows version and your After Effects version.
Then contact AfterPresets support from afterpresets.com.