Skip to main content
Built by Best ROI Media · First-Party IntegrationMITWave 4 · LiveBestRoiMedia/bestroi-game-tools

unity-pack-audit

Headless Unity Asset Store .unitypackage inspector and thumbnailer.

Batchmode Unity tool that imports .unitypackage files into isolated throwaway URP scratch projects, audits prefab triangle counts, LODGroups, texture sizes, and shaders, and renders contact sheets.

View on GitHub ↗
Quick clonegit clone https://github.com/BestRoiMedia/bestroi-game-tools.git
GitHub repositoryBestRoiMedia/bestroi-game-tools
Module path_tools/unity_pack_audit/
LicenseMIT
Release waveWave 4
LanguagesShell (zsh) · C# · Python

Why we built it

Importing an unknown Asset Store package directly into a live game pollutes the project and makes it hard to evaluate geometry budgets or URP compatibility. This tool isolates every audit in a disposable scratch project.

Architecture & how it works

audit.sh creates a clean scratch URP project per package, copies PackAudit.cs and PackThumbs.cs into Assets/Editor, runs Unity -batchmode once with -importPackage to unpack assets, and runs a second -executeMethod PackAudit.Run pass to emit a structured JSON audit of LOD0 triangle counts, materials, shaders, and textures, paired with sheet.py for thumbnail grids.

Key capabilities

  • Isolates each .unitypackage in a clean, deletable throwaway URP scratch project
  • Measures per-prefab LOD0 triangle counts, LODGroup coverage, and SkinnedMeshRenderers
  • Audits material shaders and texture dimensions for mobile/web compatibility
  • Renders asset thumbnails and assembles contact sheets via sheet.py

Usage example

Audit one or more .unitypackage files into an output directoryShell (zsh)
./unity_pack_audit/audit.sh ./out/pack_audit ./packs/EnvironmentPack.unitypackage
Set UNITY=/path/to/Unity if using a different Unity Editor version.