
2d-pixel-perfect
Sets up, diagnoses, and fixes pixel perfect 2D rendering
by unity-technologiesFree
Description
2d-pixel-perfect is an agent skill from Unity Technologies that helps a coding agent set up, diagnose and fix pixel perfect 2D rendering in Unity projects. It is meant for retro-style or pixel art games that look blurry or jittery on screen. The skill stresses that Unity has two separate, incompatible PixelPerfectCamera implementations: one built into the Universal Render Pipeline, and one in the com.unity.2d.pixel-perfect package (v6.0.0+) for the Built-in pipeline. They differ in namespace and API style, with URP using enums such as gridSnapping and cropFrame while Built-in uses booleans such as pixelSnapping and upscaleRT. The agent is told to detect the active pipeline first, using a provided DetectPipeline() reference, and then branch its setup, diagnostics and fixes on the result. It also warns against installing the Built-in package in a URP project.…
Highlights
- Sets up PixelPerfectCamera for URP or the Built-in pipeline
- Detects the render pipeline before writing or fixing code
- Explains the API differences between the two implementations
- Diagnoses blurry or jittery pixel art rendering
Ratings & Reviews
No ratings yet
Be the first to rate 2d-pixel-perfect.
People also visit
2d-pixel-perfect FAQ
What does this skill do?
It guides an AI agent to configure and troubleshoot pixel perfect 2D rendering in Unity with PixelPerfectCamera, for URP or the Built-in render pipeline.
How do I install it?
Run: npx skills add https://github.com/unity-technologies/skills --skill 2d-pixel-perfect
Why does the render pipeline matter?
URP and Built-in use different, incompatible PixelPerfectCamera components. URP has it built in, while Built-in needs com.unity.2d.pixel-perfect v6.0.0+. The skill detects the pipeline first.
Should I install the pixel-perfect package in a URP project?
No. The skill explicitly says not to install com.unity.2d.pixel-perfect in a URP project.
What were the security audit results?
skills.sh lists Gen Agent Trust Hub: Pass, Socket: Pass, Snyk: Pass.
What are the best 2d-pixel-perfect alternatives?
Popular alternatives to 2d-pixel-perfect include validate-urp-render-graph-renderer-feature, urp-postprocessing and pixijs-2d. See all 2d-pixel-perfect alternatives









