unity-decal

Create and configure URP Decal Projectors and the DecalRendererFeature in Unity scenes.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/Dylan8865/FinalYearProject --skill unity-decal-dylan8865
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: unity-decal
Source: https://github.com/Dylan8865/FinalYearProject/tree/main/GameDev/Tester/.agents/skills/unity-skills/skills/decal
Command: npx skills add https://github.com/Dylan8865/FinalYearProject --skill unity-decal-dylan8865

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up decals in Unity's Universal Render Pipeline requires manually creating Decal Projector GameObjects, tuning their properties, and ensuring the active URP renderer actually has a DecalRendererFeature enabled — a workflow that is easy to get wrong and tedious to repeat across scenes. ## Core Features & Use Cases - Decal Projector Management: Create, inspect, modify, batch-edit, and delete Decal Projectors in the scene via dedicated skill operations. - Renderer Feature Setup: Automatically ensure the target URP renderer has a DecalRendererFeature before projecting decals. - Safe Operation Modes: Query skills run semi-automatically, mutating skills respect approval grants, and deletion is restricted to Bypass or allowlisted execution. - Use Case: While building a URP level, ask the assistant to project a bullet-hole or grime decal onto a wall; it verifies the renderer feature, creates the projector, and configures its material, size, and fade properties. ## Quick Start Ask the assistant to add a decal to a surface in your URP scene and make sure the Decal Renderer Feature is enabled first.

Frequently Asked Questions about unity-decal

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

FAQPage Schema
How do I add a decal in Unity URP?▼

Use the decal_create operation to spawn a Decal Projector in the scene, then configure its material, size, and opacity with decal_set_properties. First call decal_ensure_renderer_feature so the active URP renderer can actually render decals.

Why are my URP decals not showing in the scene?▼

Decals do not render unless the active URP renderer asset has a DecalRendererFeature added. Run decal_ensure_renderer_feature to wire it up, then verify projector state with decal_get_info or decal_find_all.

Does this decal workflow support HDRP?▼

No, this module targets the Universal Render Pipeline only and does not cover HDRP decal APIs. If the URP package is not installed, every skill returns a stub error indicating the package is missing.

Can I edit multiple Decal Projectors at once in Unity?▼

Yes, decal_set_properties_batch applies property changes to multiple projectors in one call. The items parameter must be provided as a JSON array string describing each projector and its new values.

Why is decal deletion blocked in Approval or Auto mode?▼

The decal_delete operation carries a Delete flag and is auto-forbidden in Approval and Auto modes as a safety guardrail. It only executes under Bypass mode or when explicitly added to the user-managed allowlist.