gameobject-duplicate

Installation
SKILL.md

GameObject / Duplicate

Duplicate GameObjects in opened Prefab or in a Scene. Use 'gameobject-find' tool to find the target GameObjects first.

Inputs

  • gameObjectRefs — GameObjectRefList of source GameObjects.

Behavior

Resolves every input ref on the main thread (throwing on any unresolved entry to keep the batch atomic). Sets Selection.entityIds/instanceIDs to the sources and invokes Unsupported.DuplicateGameObjectsUsingPasteboard() (Unity's canonical duplicate routine). Marks every distinct affected scene dirty so the duplicated objects are saved with the scene. Returns refs to the sources (the duplicates are reachable via the post-call Selection).

How to Call

unity-mcp-cli run-tool gameobject-duplicate --input '{
  "gameObjectRefs": "string_value"
}'
Installs
1
GitHub Stars
4.6K
First Seen
Aug 21, 2026