probuilder-delete-faces

Delete selected faces from a ProBuilderMesh in Unity by index or direction.

Updated May 20, 2026
One-click install
npx skills add https://github.com/Alltwice/Unity-3D-Project --skill probuilder-delete-faces-alltwice
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: probuilder-delete-faces
Source: https://github.com/Alltwice/Unity-3D-Project/tree/main/.agents/skills/probuilder-delete-faces
Command: npx skills add https://github.com/Alltwice/Unity-3D-Project --skill probuilder-delete-faces-alltwice

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Removing faces from a ProBuilder mesh in Unity normally requires manual selection in the editor; this Skill deletes faces programmatically via the unity-mcp-cli, creating holes or removing geometry in a single call. ## Core Features & Use Cases - Explicit face deletion: Pass an array of faceIndices to remove specific faces from a ProBuilderMesh. - Semantic face selection: Use faceDirection (Up, Down, Left, Right, Forward, Back) to delete faces by orientation without knowing indices. - Automatic mesh rebuild: The mesh is rebuilt and refreshed, with the GameObject marked dirty and editor windows repainted. - Use Case: Delete the bottom face of a ProBuilder cube to create an open container by calling the tool with faceDirection="Down". ## Quick Start Ask the AI to delete the bottom face of your ProBuilder mesh by running the probuilder-delete-faces tool with the GameObject reference and faceDirection set to Down.

Frequently Asked Questions about probuilder-delete-faces

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

FAQPage Schema
How do I delete faces from a ProBuilder mesh in Unity?▼

Run the probuilder-delete-faces tool via unity-mcp-cli with a gameObjectRef and either faceIndices or faceDirection. The mesh is rebuilt and refreshed automatically, and the response reports how many faces and vertices were removed.

How do I find valid face indices for a ProBuilderMesh?▼

Use the probuilder-get-mesh-info tool to discover valid face indices before deleting. Pass the returned indices in the faceIndices array to remove exactly the faces you want.

Can I delete ProBuilder faces by direction instead of index?▼

Yes, supply faceDirection with one of Up, Down, Left, Right, Forward, or Back to select faces semantically. Exactly one of faceIndices or faceDirection must be provided, not both.

What happens if I provide both faceIndices and faceDirection?▼

The tool requires exactly one selection method, so providing both is invalid. Choose faceIndices for explicit control or faceDirection for semantic selection by orientation.

Why is unity-mcp-cli not found when running the tool?▼

The CLI is not installed or not on your PATH. Install it globally with npm install -g unity-mcp-cli or invoke it through npx unity-mcp-cli instead.