Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Finds a GameObject in the opened Unity Prefab or active Scene, with optional data, components, bounds, and hierarchy.
18% 91%+73 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 4 of 22 without it.
3 of 3 safety checks passed
Not used yet
Finds specific GameObject by provided information in opened Prefab or in a Scene. First it looks for the opened Prefab, if any Prefab is opened it looks only there ignoring a scene. If no opened Prefab it looks into current active scene. Returns GameObject information and its children. Also, it returns Components preview just for the target GameObject.
false to keep responses small)includeData — full editable GameObject data (tag, layer, etc.).includeComponents — attached components references.includeBounds — 3D bounds.includeHierarchy — hierarchy metadata.hierarchyDepth (default 0) — depth of the hierarchy to include. 0 = target only, 1 = one layer below, etc.Supply paths (a list of paths) to read only the listed fields/elements via Reflector.TryReadAt, or viewQuery (a ViewQuery) to navigate to a subtree and/or filter by name regex / max depth / type via Reflector.View. When either is supplied, the result populates Data on the returned GameObjectData and overrides includeData (which would otherwise produce a full recursive serialization). These two parameters are mutually exclusive — supply at most one.
fieldName, nested/field, arrayField/[i], dictField/[key]. Leading #/ is stripped.
unity-mcp-cli run-tool gameobject-find --input '{
"gameObjectRef": "string_value",
"includeData": false,
"includeComponents": false,
"includeBounds": false,
"includeHierarchy": false,
"hierarchyDepth": 0,
"paths": "string_value",
"viewQuery": "string_value"
}'
For complex input (multi-line strings, code), save the JSON to a file and use:
unity-mcp-cli run-tool gameobject-find --input-file args.json
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.