Contributing#
You can publish any Instruction, Condition, Trigger, or Signal you've written to the Registry straight from the Unity editor. Publishing is free and has no review queue: the attributes already on your class become the package's listing, and the script itself is what other developers install.
What you can publish#
Each package is one class in one C# file. The class's base type decides what kind of package it becomes:
| The class | Publishes as |
|---|---|
Inherits Instruction |
An Instruction |
Inherits Condition |
A Condition |
Inherits Trigger |
A Trigger |
Implements IType |
A Signal |
If your node is spread across several files, merge it into one before publishing. Modules are published by the Visual Script team and can't be uploaded. Lists don't need an upload at all: you build them on the website, as described in Lists.
You need an account and a token
Publishing requires a free account at visualscript.dev and a Unity Access Token signed in on the machine you upload from. Both are one-time steps.
Signing in with a Unity Access Token#
A Unity Access Token is a personal key that lets the Unity editor publish packages under your account. You don't need one to install packages.
Getting your token#
Sign in to visualscript.dev and go to Settings → API. The website creates your token along with your account, so it's already there.

Press Copy to put the token on your clipboard. Reveal shows it as plain text, and Generate new replaces it with a fresh one.
Signing in from Unity#
- Open the Visual Script Settings window from the Visual Script button in Unity's main toolbar or
Window→Visual Script→Settings. - Select the Account section.
- Paste the token into the Unity Access Token field and press Sign in.
The message at the top changes from Sign in with your Unity Access Token to You are authenticated, and an Account settings button appears that opens your account on the website. Before you sign in, the message's Learn more button opens the website's token page.
Unity stores the token in its editor preferences, outside your project. This means version control never includes it and teammates don't inherit it, so repeat the sign-in on each machine you publish from. Sign out removes the token from the current machine only; the token itself keeps working elsewhere.
If sign-in fails, copy the token again with Copy rather than selecting it by hand, since a missing character or extra space invalidates it. A token that worked before stops working when someone presses Generate new on your account.
Anyone with your token can publish as you
Treat the token like a password and keep it out of screenshots, messages, bug reports, and repositories. If it leaks, press Generate new on the website: the old token stops working immediately, and you'll need to sign in again with the new one on each machine. Your packages, lists, and likes belong to your account, so regenerating the token doesn't affect them.
Preparing your script#
There's no separate form to fill in. When you upload, Visual Script reads the attributes on your class and sends them along with the script. For example, this Instruction publishes with a title, a description, a documented parameter, and search keywords:
using System;
using UnityEngine;
using VisualScript.Icons;
using VisualScript.Runtime;
[Title("Log Text")]
[Description("Prints text in the Console")]
[Category("Debug/Log Text")]
[Parameter("Text", "The text to print")]
[Keywords("Print", "Console", "Debug")]
[Version(1, 0, 0)]
[Image(typeof(IconSpeech), ColorTheme.Type.TextLight)]
[Serializable]
public class InstructionAcmeLogText : Instruction
{
[SerializeField] private GetString m_Text = new GetString();
protected override string GetTitle(GameObject source) => $"Log {this.m_Text}";
protected override Awaitable Run(Args args)
{
Debug.Log(this.m_Text.Get(args));
return Done;
}
}InstructionAcmeLogText inherits Instruction, so it publishes as an Instruction called Log Text. Its [Category] places it under Debug for anyone who installs it, and its [Description] and [Keywords] are what Registry search matches against.
Each attribute fills one part of the listing. The Registry rejects an upload that's missing a required attribute or exceeds a limit:
| Attribute | Becomes | Rules |
|---|---|---|
[Title] |
The package name. | Required. Up to 500 characters. |
[Category] |
Where the node sits in the dropdown once installed. | Required. |
[Description] |
The summary shown in search results. | Required. Up to 1,000 characters. |
[Version] |
The published version. | Defaults to 0.0.0 when omitted. |
[Parameter] |
The documented parameters. | Up to 50. |
[Keywords] |
Extra search terms. | Up to 50. |
[Note] |
Caveats shown on the listing. | Up to 10. |
[Dependency] |
Assets or packages the node needs, each with a link. | Up to 10. Links must be http(s) URLs or git@ remotes. |
[Documentation] |
The listing's Docs button. | Must be an http(s) URL. |
[MadeWithAI] |
A badge saying the package was made with generative AI. | Optional. |
[Get] / [Set] |
Whether a Signal can be read, written, or both. | Signals only. |
Each parameter, keyword, note, and dependency entry can be up to 1,000 characters long, and the script itself up to 5 MB. Only the script and these attributes are uploaded; no other files, scenes, or project settings are sent. Conventions covers every attribute in detail.
Describe the task, not the implementation
People search for the behavior they need. Rotates an object toward another over time gets found; Custom rotation helper doesn't. Add the words someone would type to [Keywords].
Two habits prevent most problems once other people install your node:
- Prefix the class name with a short vendor tag, as in
InstructionAcmeLogText. Class names must be unique within a project, and a generic name likeInstructionLogTextcan collide with another package. - Declare every dependency with
[Dependency("Name", "https://…")]. A project without the asset or package can't compile the node, and the listing is the only place developers can check before installing.
Uploading#
- In the Project window, right-click the script's
.csfile. - Choose
Visual Script→Upload to Registry.
A progress bar appears while the upload runs. When it finishes, a dialog reports New package has been successfully created or Package has been successfully updated. Press Open on Visual Script page to check the listing on the website.
A successful upload moves the file
After uploading, Unity moves the script to Assets/Visual Script/<Kind>/ and renames it after the new package's ID, such as Assets/Visual Script/Instructions/<package-id>.cs. The class name doesn't change, so the node keeps working in your scenes. Leave the file where it is: the Registry uses this name to recognize later uploads as updates, and the editor uses it to detect when your copy is out of date.
When the upload isn't available#
The Upload to Registry menu item is grayed out when the selected file can't be published. Check these causes:
- The file is inside
Packages/. Code in that folder is protected; if you own it, copy the file intoAssets/first. - The script has compile errors, so Unity can't find its class.
- The class doesn't inherit
Instruction,Condition, orTrigger, or implementIType. - Another Registry operation, such as an install, is still running.
If you aren't signed in on this machine, the upload stops with a You are not authenticated dialog. Press Open authenticate window to go to the Account section and sign in.
When the Registry rejects an upload, an Error uploading package dialog shows the reason. The most common ones are:
| Message | Fix |
|---|---|
| Missing package title, category, or description | Add the missing [Title], [Category], or [Description] attribute. |
| Version must be newer than version: … | Increase [Version] above the published version. See Publishing an update. |
| Invalid package filename | Rename the file using only letters, numbers, dots, hyphens, and underscores, with no spaces. |
| Unauthorized credentials | Your token was regenerated. Copy the current one from the website and sign in again. |
Publishing an update#
To release a new version, change the code, increase [Version], and upload the same file again. The Registry matches the upload to your existing package through the file name it was given on the first upload. Uploading a copy under a different name publishes a separate package instead.
The new version must be higher than the published one; the Registry rejects the same or a lower version. Once it's accepted, everyone who installed the package sees an Update button in the editor. Visual Script doesn't update anything automatically, so each user decides when to replace their copy.
Choose the number that tells users what to expect. Increase the patch number for a bug fix (1.0.0 → 1.0.1), the minor number for new behavior that keeps existing setups working (1.1.0), and the major number for a change that breaks them (2.0.0). Explain any required migration in a [Note].
An update replaces the script and everything in the table above except [Title] and [Category]. The listing keeps the name and category from the first upload, even if you change those attributes later.
Renaming a published class loses users' settings
Visual Script stores each node by its class's full type name. Renaming the class, changing its namespace, or moving it to another assembly empties every existing use of the node in your users' scenes and prefabs. If a rename is unavoidable, add Unity's [MovedFrom] attribute; for a renamed field, use [FormerlySerializedAs]. See Serialization.
Removing a package#
When you stop maintaining a package, add a [Note] saying so, along with the last version you tested, and upload it as a new version. Developers can then decide whether to keep using it.
To remove it completely, open its page on visualscript.dev and press Delete. Existing installations stay in people's projects, but nobody can install the package anymore, including through any list that contains it.
Checklist before you publish#
- The node works in a real project, and in an empty project that has only Visual Script and its declared dependencies.
[Title],[Category], and[Description]are filled in, and[Parameter]describes every field.- The class name has a vendor prefix.
- Every required asset or package has a
[Dependency]. [MadeWithAI]is set if generative AI wrote the code.- The file contains nothing private: no API keys, credentials, private endpoints, machine-specific paths, project-only types, or leftover debug logging. Everything you publish is public.
Where to go next#
- Conventions — the full attribute reference behind every listing.
- Extending — write each kind of node before you publish it.
- Using the Registry — group your packages into a list others can install in one go.