unity-2d-pixel-perfect

Installation
SKILL.md

unity-2d-pixel-perfect — two components with the same name, and only one of them is yours

Pixel perfect is not one Unity feature, it is two incompatible implementations of one name. URP ships UnityEngine.Rendering.Universal.PixelPerfectCamera, driven by enums. The standalone com.unity.2d.pixel-perfect package ships UnityEngine.U2D.PixelPerfectCamera, driven by booleans. Adding the wrong one costs you nothing at compile time and everything at runtime, so the pipeline in force decides the component, and you resolve it first.

Start here — symptom → where to look

Installs
11
GitHub Stars
2
First Seen
Oct 3, 2026