Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser




Quick Information

A custom node that generates a unique ID to be concatenated to, or replace the parent node's name.This node can be added as a child of an existing node. The parent node will then have its name either concatenated with the ID or replaced by the ID.
Unique ID node ~ Godot 4+
A custom Godot 4+ node that generates a unique ID to be concatenated to, or replace the parent node's name.
This node can be added as a child of an existing node. The parent node will then have its name either concatenated with the ID or replaced by the ID.
𧬠Features
- Can generate 3 different length of unique ID: Short, Medium, Long.
- Ability to concatenate the ID to parent name or replace the parent name.
- Option to add a string separator when concatenating the ID.
- Option to set the unique ID as persistent (saved to disk).
- Automatically free this custom node after use.
π½ Supported Versions
π₯ Installing the Plugin
Install using Godot's AssetLib
- Go to the
AssetLib
in the Godot Editor. - Type "unique" to search for the
UniqueId
node. - Select the asset and click Download.
Install with examples
- Download as a ZIP file from this repository or
- Clone this repository
π How to use
After enabling this plugin, you can add the UniqueId
node as a child of another node and it will add or replace a Unique ID to the parent node.
- Right-click on a node or press Ctrl+A.
- Type "unique" on the Search textbox of the Create New Node form to filter the node list and easily find the
UniqueId
node.
- Double-click the
UniqueId
node to add as a child of the node.
πΊ Video on How I created and use the plugin.
π Notes
- Adding more than one
UniqueId
node will result in creating a sequence of Unique IDs. The IDs will either be concatenated or replace the parent name, which ever comes first. - Adding the
UniqueId
node as the only node, or a child of the root node, will result in changing the name of the root node.
π‘ More Plugins!
Head on over to my website at https://plugins.jbsnippets.com to read more about this plugin and other plugins that I've been creating during my game development journey.
A custom node that generates a unique ID to be concatenated to, or replace the parent node's name.
This node can be added as a child of an existing node. The parent node will then have its name either concatenated with the ID or replaced by the ID.
Reviews
Quick Information

A custom node that generates a unique ID to be concatenated to, or replace the parent node's name.This node can be added as a child of an existing node. The parent node will then have its name either concatenated with the ID or replaced by the ID.