Skip to content

V2.10.0

Choose a tag to compare

@github-actions github-actions released this 24 Jul 22:37
· 24 commits to main since this release

V2.10.0

New Release Auto Generated Release Notes

Here are all commits since the last version:

fix(history): stop the velocity chart collapsing to flat bars

Bar heights are a share of the tallest bar, but AssetsExtracted is an int and so
is the peak, so the division truncated. Every bar except the tallest came out as
zero and was clamped to the minimum height, which made the chart look like one
spike next to a flat line no matter what the numbers were.

fix(preview): bound asset image decoding the same way the wallpaper is

V2.9.6 died with "Unable to allocate pixels for the bitmap" because a huge image
was decoded at full resolution. V2.9.7 capped that for the background wallpaper
but left the asset preview decoding unbounded, and those images arrive inside
downloaded packages, so their size is not the user's choice. The V2.9.1 reports
about failing HDRI sky files came out of exactly this method.

Both preview decodes now go through the shared bounded decoder, which is renamed
from BackgroundImageDecoder to BoundedImageDecoder so the next image path reuses
it instead of quietly reintroducing the same crash. The headless test session now
renders with Skia so the tests decode real pixels rather than a stub.

fix(windows): keep a restored window on screen when it has no measured size

EnsureWindowIsVisible clamped against the window's Width and Height, which are
NaN for a window that has never been explicitly sized. Casting NaN to int
collapsed the bounds to a single pixel, so the guard would happily place a window
with only one pixel left on the desktop. Unmeasured windows now fall back to a
grab area large enough to drag them back.

feat(duplicates): fingerprint package assets by content

Adds the core of the duplicate finder: a scanner that walks a .unitypackage and
hashes every asset with SHA-256, joined with the pathname entry that Unity may
write before or after the asset itself. Matching by content rather than by name
is the point, because the same shader or texture ships under different paths in
different bundles.

Grouping is a pure function so the rules are testable without touching disk, and
an unreadable package is reported rather than dropped, so a broken file in a
library stays visible instead of silently shrinking the result.

feat(duplicates): scan a whole library with a fingerprint cache

Hashing a library means decompressing every package, so a rescan has to reuse
what has not changed. Fingerprints are cached per package and only trusted while
size and write time still match; a failed read is never cached because it says
nothing about the file's content.

Measured against a real 180 package library: 63 seconds cold, 0.08 seconds warm,
with identical results across runs.

feat(duplicates): add the duplicate finder window

A Duplicates button next to History opens a window that scans a chosen folder
and lists the assets stored more than once, largest waste first, each expandable
to the packages it was found in. The scan reports progress and can be cancelled.

Two things only showed up when running it against a real library: the empty
state card was visible while a scan was still running, and packages that share a
file name rendered as identical rows. Occurrences now carry their path relative
to the scanned folder when the name alone is ambiguous, which one folder level
was not enough for.

The container resolves lazily, so a test pins that the new services resolve
rather than failing for the first user who clicks the button.

chore(project): bump version to 2.10.0

📥 Installation Guides

View Platform Installation Docs

Full Changelog: V2.9.9...V2.10.0