Skip to main content
When you select a Pixelate Asset, the Pixelate Preview appears at the bottom of the Inspector, like the preview of a texture or model. It shows exactly what Export writes, at the real sprite resolution, scaled up with sharp pixels. Use it to tune views, clips and effects before you export. Pixelate Preview with the Run clip selected, the play button, the Right view, Lit draw mode and the gear menu The Preview needs a Source and a Style Profile. If one is missing, it says which: for example Assign a source to enable. While a frame is being made, a spinner shows in the corner.

Toolbar

The Preview has two rows of controls. In the Preview header (top right, next to the Pixelate Preview title): Above the image, for animated sources only (a model or prefab with clips, or a particle system):

Keyboard

Press Space to play or pause while the pointer is over the Preview, or after you click in it. Space does nothing while you type in a text field, or when the clip has only one frame.

Draw modes

Lit and Normal need an enabled Lighting effect on the Style Profile. For an asset without one, they are greyed out in the menu and the Preview shows Unlit. Your choice is remembered across assets and sessions on this computer. If you pick Lit (the default), every asset whose style has lighting shows Lit, and the others show Unlit until you select a lit one again. So when you add or turn on a Lighting effect, the Preview shows Lit, unless you last picked Unlit or Normal.
What Export writes depends on the Lighting effect, not on the Preview’s draw mode. By default the exported sprites are unlit, with a separate normal map for Unity’s 2D lights. Turn on Export Lit Sprites in the Lighting effect to bake the lighting into the sprites. See Lighting.

Gizmos

Both gizmos only draw on top of the Preview and never appear in exported sprites.
  • Show Pivot marks the point where Export puts each sprite’s pivot, with the same dot the Sprite Editor uses. It follows the asset’s Pivot setting, so you can check that feet sit on the pivot before you export. Off by default.
  • Show Directional Light Gizmo shows a small dial in the top-left corner of the Lit preview with the direction the Lighting effect’s directional light comes from. On by default. It is available only when the asset can show Lit.
Both choices apply to every asset on this computer.

When the Preview updates

Changing an effect setting updates the Preview almost at once. Changing something that affects the capture itself, such as the Source, Cell Size, a view or a clip, captures the frames again, which can take a moment for long clips. Until the new frames are ready, the Preview keeps showing the last ones with a spinner. If the Preview ever looks out of date, choose Refresh Current Preview in the gear menu. It captures the current view, clip and draw mode again. Clear Preview Cache throws away every cached preview frame, for all assets, to free memory; frames are made again as you need them.

Size limit

The Preview shows frames up to 2048 x 2048 pixels. For a larger sprite it shows Preview output is too large, with the size, and the Output line under Cell Size ends in (preview too large). Lower Cell Size or Pixels Per Unit to preview it.

Save a GIF

Share an animation without leaving Unity. In the gear menu, choose Save GIF and a scale: 1x (Actual Size), 2x or 4x. The scale enlarges each pixel to a 2 x 2 or 4 x 4 block, so the GIF stays sharp. The eight frames of a saved GIF of a running character
  • The GIF shows exactly what the Preview shows: the current view, clip and draw mode, every frame at the clip’s FPS, looping. A static source gives a single-frame GIF.
  • Transparent pixels stay transparent. Sprites with up to 255 colors, which includes every sprite made with a Color Palette, keep their exact colors. Sprites with more colors are reduced to 255.
  • The save dialog opens in the asset’s output folder with the name the exported sheet would get plus .gif, for example Hero_Run_Front.gif. You can save it anywhere. A GIF saved inside Assets is imported and highlighted in the Project window; one saved outside the project is shown in your file browser.
GIF timing uses whole hundredths of a second, so single frames can differ by 0.01 s while the total length stays right. Clips faster than 50 FPS play at 50 FPS in the GIF, because browsers slow down shorter frame times.

Preview several assets

Select several Pixelate Assets in the Project window or the Pixelate Browser and the Inspector shows a grid of tiles instead of a single asset: a thumbnail of each asset’s current look, its status icon and its name, sorted by name. Up to 24 tiles are shown; a +N more tile counts the rest.
  • Click a tile to select only that asset and edit it.
  • Click Open in Browser (or Show in Browser when the Browser is already open) to see all the selected assets there, ready for batch Validate and Export.
Thumbnails fill in a few at a time, visible tiles first, so a large selection never freezes the Editor.

Thumbnails

Pixelate Pro draws a thumbnail of each Pixelate Asset everywhere Unity shows assets: the Project window (list and grid), the Pixelate Browser, Unity’s object picker and Unity Search. An asset’s thumbnail is always the same still, whatever its Preview is showing:
  • the first view and the first clip (the first enabled clip with an Animation Clip);
  • Lit when its style has an enabled Lighting effect, otherwise Unlit;
  • the first frame, or for a particle system the middle of its loop, since the first frame of an effect is often still empty.
Style Profiles, Palettes and Camera Rigs get thumbnails too: a lit dodecahedron rendered through the profile, the palette’s colors in order, and the rig’s views seen from above. Thumbnails update in the background after you edit, a few at a time, so the Editor stays responsive. Until a thumbnail is ready, the usual type icon shows. To see the plain type icons in the Project window instead, turn off Show Previews in Project Window in Project Settings > Pixelate. The setting applies to this computer only and does not change the Browser or the object picker.

Performance

  • Preview frames are cached in memory, so going back to a view, clip or draw mode you saw before is instant. Use Clear Preview Cache if memory is tight.
  • Long clips, many views and large Cell Sizes take longest to capture. Preview one view and clip at a time while you tune a style, then export everything.
  • Thumbnail work runs in small slices between Editor updates and only takes about half of the Editor’s time, so you can keep working while it catches up.

Next steps

Export

Write the sprite sheets you just previewed.

Style Profiles

Change the look the Preview shows.