Start here: separate scaling from movement

Pixel-perfect rendering aims to display source pixels at consistent sizes on screen. If pixel widths are uneven while both camera and Sprite are still, check import settings and display scale. If the whole background jitters only when the camera follows a target, investigate camera update timing separately.

Figure: Diagnostic workflow: Match pixel units → Inspect camera and motion → Compare output resolutions
Figure: Diagnostic workflow: Match pixel units → Inspect camera and motion → Compare output resolutions
What you seeFirst isolation checkNext action
Uneven pixels even when stationaryCompare a fixed Game view at an integer scaleMatch PPU, reference resolution, filtering and sprite scale
Character hops while the background stays stillRun the character with a fixed cameraCompare Rigidbody2D interpolation and the movement update loop
Everything jitters only while the camera followsDisable following or damping temporarilyCheck the camera update method and Pixel Perfect integration
Only some resolutions look wrongCompare 640×360, 960×540 and a non-integer sizeInspect crop/stretch choices and final display scaling

1. Establish a clean pixel-art baseline

  1. Use a single test sprite and a fixed orthographic camera. Remove camera shake, zoom animation and post-processing from this comparison.
    Compare final resolution, edges and flicker
    Compare final resolution, edges and flicker
  2. Match the sprite importer's Pixels Per Unit to the Pixel Perfect Camera's Assets Pixels Per Unit. Start with Point filtering and no texture compression, and keep the test sprite's transform scale at one.
    Compare final resolution, edges and flicker
    Compare final resolution, edges and flicker
  3. Set Reference Resolution to the resolution used to design the art. For a 320×180 reference, 640×360 and 960×540 are useful integer-scale comparisons. These are example test sizes, not mandatory project settings.
    Compare final resolution, edges and flicker
    Compare final resolution, edges and flicker
  4. Check animation pivots as well as textures. A pivot that moves between frames can look like movement jitter even with the camera stopped.
    Compare final resolution, edges and flicker
    Compare final resolution, edges and flicker

2. Choose one pixel-grid strategy

In URP 14, Grid Snapping offers Upscale Render Texture or Pixel Snapping. The former renders near the reference resolution before enlargement; the latter aligns SpriteRenderer presentation to the world pixel grid without rewriting Transform positions. Inspect the options exposed by your installed package rather than looking for a Pixel Snap checkbox on every shader.

For PPU 16, one art pixel spans 1/16 world unit. Use that relationship when placing static artwork. Do not automatically quantize a physics body's position every rendered frame: mixing that with interpolation and a separately rounded camera can create competing corrections.

Compare final resolution, edges and flicker
Compare final resolution, edges and flicker

3. Isolate Rigidbody2D and camera timing

  1. If movement is physics-driven, keep its physics updates in the chosen physics loop. Avoid having another script also write the same Transform every rendered frame.
    Compare final resolution, edges and flicker
    Compare final resolution, edges and flicker
  2. With the camera fixed, compare Rigidbody2D Interpolation set to None and Interpolate. Keep the option that improves the actual symptom; interpolation and strict whole-pixel movement solve different problems.
    Compare final resolution, edges and flicker
    Compare final resolution, edges and flicker
  3. Restore camera following. For a custom follow script, compare its update timing with the target's movement. For Cinemachine, inspect the Brain update method and damping rather than adding an additional follow script.
    Compare final resolution, edges and flicker
    Compare final resolution, edges and flicker
  4. With Cinemachine 2.9, use the Cinemachine Pixel Perfect extension on the virtual camera and Pixel Perfect Camera on the rendering camera. Camera blends can temporarily lose pixel-perfect framing. Cinemachine 3 uses different components; consult its installed-version documentation.
    With Cinemachine · Cinemachine Pixel Perfect · Pixel Perfect
    With Cinemachine · Cinemachine Pixel Perfect · Pixel Perfect

Verify at the final output size

Compare stationary, horizontal and diagonal motion at the same speed, camera settings and output resolution. Repeat in a Player build; a Game view scaled to fit its editor panel is not the final display. Record Unity, URP and Cinemachine versions when reporting a remaining issue.

The illustration explains the diagnostic sequence. It is not a capture of a verified Unity test scene.

References