Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Duplicates batches of GameObjects in the open Unity Prefab or active Scene and marks affected scenes dirty.
45% 95%+50 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 10 of 22 without it.
3 of 3 safety checks passed
Not used yet
Duplicate GameObjects in opened Prefab or in a Scene. Use 'gameobject-find' tool to find the target GameObjects first.
gameObjectRefs — GameObjectRefList of source GameObjects.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).
unity-mcp-cli run-tool gameobject-duplicate --input '{
"gameObjectRefs": "string_value"
}'
For complex input (multi-line strings, code), save the JSON to a file and use:
unity-mcp-cli run-tool gameobject-duplicate --input-file args.jsonOr pipe via stdin (recommended):
unity-mcp-cli run-tool gameobject-duplicate --input-file - <<'EOF' {"param": "value"} EOF
If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead.
Read the /unity-initial-setup skill for detailed installation instructions.
Next to this one in the catalogue, plus more from the same author.