gameobject-set-parent

Batch reparent Unity GameObjects to a specified parent with error handling.

Updated May 3, 2026
One-click install
npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill gameobject-set-parent-rakamenouya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gameobject-set-parent
Source: https://github.com/RakameNouya/MR-Bab_10_and_Kel_3/tree/main/.gemini/skills/gameobject-set-parent
Command: npx skills add https://github.com/RakameNouya/MR-Bab_10_and_Kel_3 --skill gameobject-set-parent-rakamenouya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli, and includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of reparenting multiple GameObjects in a Unity scene, ensuring that the operation can continue even if some individual reparenting attempts fail.

Core Features & Use Cases

  • Batch Reparenting: Reparent a batch of GameObjects to a new parent in a single operation.
  • Error Handling: Continues the batch process even if some reparenting attempts fail, reporting errors for review.
  • Use Case: Ideal for developers who need to quickly organize a complex scene by moving multiple GameObjects to a new parent without manually selecting each object.

Quick Start

Use the gameobject-set-parent skill to reparent all child GameObjects under the 'MainCamera' in the current scene.

Frequently Asked Questions about gameobject-set-parent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I batch reparent GameObjects in a Unity scene without stopping on errors?

Batch reparenting GameObjects moves multiple objects to a new parent in one operation. The process continues even if individual reparenting attempts fail, reporting errors for review without halting the batch.

Can I find and reparent Unity GameObjects using instanceID or asset path?

Yes, GameObjects can be located by instanceID, path, name, asset type, asset path, and asset Guid. This allows batch reparenting of objects identified through various lookup methods within the Unity scene.

Do I need unity-mcp-cli to reparent GameObjects in Unity?

Yes, unity-mcp-cli is required for execution. This dependency provides the command-line interface needed to interact with the Unity scene and perform batch reparenting operations on GameObjects.

What's the best way to organize a complex Unity scene by moving multiple GameObjects?

Batch reparenting is ideal for organizing complex scenes by moving multiple GameObjects to a new parent in a single operation. This avoids manually selecting and moving each object individually.

Why does batch reparenting fail for some GameObjects in Unity?

Individual reparenting attempts may fail due to invalid paths, missing instanceIDs, or asset resolution errors. The batch process handles these errors gracefully, continuing with remaining objects and reporting failures for review.

Does batch reparenting work with GameObjects identified by asset Guid in Unity?

Yes, the batch reparenting operation supports finding GameObjects by asset Guid, along with instanceID, path, name, and asset type. This enables flexible object selection when moving items to a new parent.