Download for MacApple silicon, macOS 14+
Skill

2d-pixel-perfect

@unity-technologies Updated 2026-10-16

Sets up, diagnoses, and fixes pixel perfect 2D rendering with PixelPerfectCamera in URP or Built-in. Use when a retro-style or pixel art 2D game looks blurry, jittery, or misaligned. Not for HD 2D or high-resolution art.

Install

With your agent

Install OMGSkills skill "unity-technologies/skills:2d-pixel-perfect" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/Unity-Technologies/skills /tmp/skills && ln -s /tmp/skills/skills/2d-pixel-perfect ~/.claude/skills/2d-pixel-perfect

From README

⚠ There Are Two Completely Separate Implementations Pixel perfect rendering in Unity is not one system — it is two separate, incompatible implementations, one per render pipeline. Always detect the pipeline before writing or diagnosing any code. | | URP | Built-in | |---|---|---| | Component | UnityEngine.Rendering.Universal.PixelPerfectCamera | UnityEngine.U2D.PixelPerfectCamera | | Package | Built into URP — no extra | com.unity.2d.pixel-perfect v6.0.0+ | | API style | Enums (gridSnapping, cropFrame) | Booleans (pixelSnapping, upscaleRT, cropFrameX/Y) | Do not com.unity.2d.pixel-perfect in a URP project. → Always call DetectPipeline() first (references/pipeline-detection.cs), then branch your , diagnostics, and fixes based on the result.