UnityAssetExplorer
UnityAssetExplorer (UAE) is a Windows desktop tool for exploring, previewing and exporting
assets from Unity games and AssetBundles. It is a clean-room rewrite of AnimeStudio with a
streaming random-access core, per-asset vertical slices, and compile-time game plugins.
Features
- Open standalone SerializedFiles, UnityFS AssetBundles, folders, gzip-compressed WebGL
.data files (UnityWebData) and supported private containers such as Genshin
blk/mhy0, Zenless Zone Zero mhy0/mhy1 (mhynewec), Honkai: Star Rail ENCR
.block (live and CBT2), Arknights: Endfield VFS .chk, Petit Planet encrypted .blk
bundles, Azure Promilia UnityCN bundles, GuiLongChao .dab units, generic Unity (CN)
bundles with a selected UnityCN key, and UnityFS bundles whose signature is preceded by a
private prefix (the Unity (FS Fake Header) plugin scans for the first UnityFS).
Arknights bundles use a private data-block LZ4 variant selected by its own plugin, and
Honkai Impact 3rd files are concatenations of XORShift128-encrypted UnityFS units.
- Browse assets with search, type filters and a virtualized scene hierarchy.
- UI text comes from external
.tsv sources (storage/i18n, shared by App and Map),
compiled to .ulang at publish time or by tools/build-i18n.ps1. English and Simplified
Chinese ship with the build, and tools/UnityAssetExplorer.LangEditor is the standalone
GUI/CLI .ulang editor and converter. Switching language takes effect after a restart.
- Build offline Maps with the separate
UnityAssetExplorer.Map.exe: SQLite snapshots
store plugin identity, source/asset SHA-256 hashes, object locators, containers and an
object-level reference graph. Maps can be browsed without game files; with the game files
present, only the selected container units are opened for export. Two maps can be compared
(Diff Maps…, with added/removed/changed rows in green/red/yellow), and an existing
map can be extended by re-indexing only added or changed sources
(Rebuild Map (Incremental)…).
- Preview textures, sprites, text, fonts, audio, video, Texture3D volumes, 3D models and
MonoScript source. A Texture3D volume shows one depth slice at a time with a slice slider and
numeric index box, so deep volumes can be inspected (or flip-book compared) without a huge
filmstrip image. Audio stored in ISOBMFF (WebGL AAC) plays through the same WebView2 media
viewer as video.
- Texture decoding includes BC1–BC7/BC6H, uncompressed formats, DXT Crunch, ETC1/ETC2/EAC
(including 3DS ETC aliases), ASTC (including HDR), PVRTC, ATC and YUY2; optional
Preserve HDR writes Radiance .hdr. Texture3D volumes export as DDS (default) or KTX2
with every mip level and slice; block-compressed volumes are decoded to RGBA8 first.
- Export as PNG, atlas sprites, encoded audio named after its real container (FSB/MP4/WAV/Ogg/
MP3) or decoded WAV, TTF/OTF fonts, original video, OBJ meshes,
JSON materials/MonoBehaviours, reconstructed MonoScript C# from standard managed assemblies,
ShaderLab, GLB/FBX models, Unity ANIM clips and raw data. WAV conversion covers PCM
8/16/24/32/float, Vorbis, IMA/GC/F ADPCM and FSB MPEG; other codecs remain available
through the original-payload audio export. A RayTracing shader program without a serialized
platform is preserved as opaque Base64 comments.
- Export modes:
Export, Raw and Dump; grouping by type name, container path,
source file name, or flat (no subfolders). Every grouping mode uses the same deterministic
SHA-256 duplicate detection and (n) collision naming during parallel export.
- Game-specific behaviour is implemented as compile-time plugins: containers, asset types,
layout hints, exporters and previews. The parser core contains no game-name branches or
GameType switches.
- Optional native components are isolated in
UnityAssetExplorer.Native: D3DCompiler for
DXBC disassembly, Ooz for Oodle blocks, ACL for animation decoding, and FBX for binary
model export.
- Batch export plans output names before parallel work. Only conflicting filenames share an
ordered commit queue; progress is sampled instead of posting a GUI callback for every asset.
- ACL decoding uses the separate, hidden console tool
UnityAssetExplorer.AclWorker.exe,
one process per request to reclaim the native library’s private allocations.
Requirements
- Windows 10 or later (x64).
- .NET 10 SDK to build from source.
- Microsoft Edge WebView2 Runtime for video and ISOBMFF-audio preview (normally included with
Windows 10/11).
Build and run
dotnet build UnityAssetExplorer.slnx -c Release
dotnet run --project src/UnityAssetExplorer.App
Create a framework-dependent, non-single-file release:
.\publish.ps1
# or double-click / run publish.cmd
The publish script validates the language sources with tools/check-i18n.ps1, reads the version
from Directory.Build.props, publishes to dist/UnityAssetExplorer-<version>, compiles the TSV
sources into storage/i18n/*.ulang, copies README.md, retains all license files under
licenses/, and creates dist/UnityAssetExplorer-<version>-win-x64.zip.
Use -NoZip or -Version <version> when needed. The script performs no tests; publishing
and testing are separate operations.
Build and publish automatically include the ACL console host and its manifests next to the
main executable. Both hosts share the existing dependencies; keep these files together.
The release also contains UnityAssetExplorer.Map.exe and its SQLite runtime; the main app
launches it from the Map menu and does not embed map logic.
Usage
- Use File → Load file or File → Load folder to load an asset set. Opening the whole
game data folder resolves dependent files and MonoScripts.
- Browse the Asset List, Scene Hierarchy or Asset Classes tabs.
- Select an asset to preview it, or use Export, Raw and Dump.
- Configure decoding/export behaviour under Options. For generic UnityCN bundles, choose
Options → Select Game → Unity (CN) and then pick a key under
Options → Select UnityCN Key (or let the automatic prompt open it when loading without a key).
Select Unity (FS Fake Header) for UnityFS bundles that carry a private prefix before the
signature. Gzip-compressed WebGL
.data files (UnityWebData) need no special profile.
Choose a language under Options → Language; newly added language files appear there
automatically.
- Use Map → Build Map… to create an offline
.uaemap, or Map → Open Map… to browse
an existing snapshot. The Map program can also be launched directly with
UnityAssetExplorer.Map.exe --open [map] or
UnityAssetExplorer.Map.exe --build <root> <map> --plugin <id> [--cnkey <guid>].
Export grouping can place files under a Unity type folder, the AssetBundle container directory,
the root input file name (root/settingsui.bundle/asset.png), or directly under the export root
with no subfolders.
Some games obfuscate the Unity version stored in SerializedFiles. Use
Options → Custom Unity Version… to view the versions already loaded and set a version for
the next load. It is session-only and never written to settings.json. If the selected game
plugin requires an exact version, the window shows that value read-only.
Asset List shows supported asset types by default. Enable
Options → Show unsupported asset types to show every serialized object; the
Filter Type menu follows the same setting. Export → All assets skips unsupported
types, while Selected/Filtered export exactly the current selection.
For 3D assets, choose Animator for the complete hierarchy/skin, or Mesh for a
standalone OBJ. Animator textures are written next to the model by default; embedded
textures are available in Options. FBX output is optional and binary-only.
Memory reclaim
After loading, hierarchy building and large exports, UAE can schedule a managed-GC cleanup
when Options → Auto reclaim is enabled; it is off by default. Enable
Options → Aggressive reclaim to additionally ask Windows to trim the process working set.
The manual Options → Reclaim memory command always performs the thorough cleanup.
This only releases temporary decode buffers; it does not impose any data/cache quota.
Live2D
Live2D and Spine scans/exports use the Options parallelism setting. Model folder names
are assigned before parallel export, so duplicate names still receive deterministic (1)
suffixes.
Use Advanced Export → Cubism L2D → Export All (or Export From Selected MonoBehaviour)
to reconstruct a Cubism folder from a Unity Live2D asset set. The checkable Prefer existing
TextAssets option is on by default: matching original model3/motion3/cdi3 files are
reused and only missing files are generated. Models are written under CubismL2D/<model>/;
a second model with the same display name gets CubismL2D/<model> (1)/. The exporter writes
moc3, model3.json, physics3.json, cdi3.json, motions, expressions, poses (when the
data contains CubismPosePart) and textures. Cubism 3 and Cubism 4/5 serialized layouts are
handled; the original MOC3 version is preserved. The exporter does not require the Managed
assembly folder.
Spine
Advanced Export → Spine → Export All (or Export From Selected MonoBehaviour) follows
Spine’s own serialized asset graph (SkeletonDataAsset → atlasAssets → AtlasAsset) and writes
one folder per model under Spine/<model>/: the skeleton (JSON or binary .skel), the
.atlas, and the page PNGs referenced by it. Plain TextAsset skel/atlas files can still be
exported normally. GI’s inline atlas (Spine.Unity.SpineAtlasAsset.atlasText) is handled
as a named layout; binary .skel files are detected from their version header. Other embedded
MonoBehaviour variants are read through an exact TypeTree or the game’s Managed assembly layout
when available; no filename or payload-sniffing guesses are used.
Texture preview channels
In an image preview, use the Channels context menu or Ctrl+B, Ctrl+G, Ctrl+R,
Ctrl+A to toggle blue, green, red and alpha. The top-left overlay shows dimensions, format,
filter mode, anisotropic level, mip bias, wrap mode, mip count and the current channels.
Text-only previews do not draw this overlay.
Settings and data
- App settings:
<application directory>/storage/settings.json.
- Map settings:
<application directory>/storage/map-settings.json.
- Custom Unity Version is session-only and is not stored in settings; it applies on the next
load and is cleared whenever a different Game Plugin is selected. A game plugin’s fixed version
always wins and locks the editor.
- UnityCN keys:
<application directory>/storage/cnkeys.json, an array of
{id, name, key}. id is an internal lowercase GUID. The selected GUID is stored in
settings; the all-zero GUID means none, and non-GUID values are invalid settings. Add, edit
or remove keys from Options → Select UnityCN Key; changes are written when you press OK.
Publishing copies the repository seed list so the shipped app starts with the bundled keys.
- Language files:
<application directory>/storage/i18n/*.ulang, generated from the
repository’s storage/i18n/*.tsv sources at publish time. The selected language GUID is
stored in settings; the all-zero GUID is English. A language file whose recommended version
differs from the program version only produces a warning. Missing keys are shown as
i.some.key.
- A Managed assembly directory selected in Options is session-only and is not persisted.
It is used read-only for MonoBehaviour layouts and MonoScript source reconstruction.
- MonoScript source is decompiled from standard managed IL; IL2CPP or protected builds have
no usable managed assembly and fall back to the original object bytes.
- Temporary bundle/preview data is stored under the configured cache directory and is not
reused across sessions.
UnityAssetExplorer does not impose its own size, depth or object-count quotas. Large inputs
are streamed or routed to disk; only real platform/format limits or malformed data are
reported as errors.
Architecture
src/UnityAssetExplorer.Core/
IO/ random-access source, slices, VFS/temp cache, stream utilities
Diagnostics/ diagnostics and traces (no custom error-code layer)
Formats/ standard Unity containers (UnityFS/GZIP/UnityWebData), SerializedFile and TypeTree
Plugins/ IAssetTypePlugin registry, dispatch and AssetExtensionBag
Games/ logical game plugins (Standard, Unity (FS Fake Header), Unity CN, Genshin,
Petit Planet, Honkai: Star Rail, Honkai: Star Rail CBT2, Honkai Impact 3rd,
Arknights: Endfield, Arknights, Zenless Zone Zero, Azure Promilia, GuiLongChao)
Assets/ per-type vertical slices and default Unity readers
Export/ export orchestration, naming and path policy
Preview/ UI-independent preview documents
Session/ AssetSession, catalog and lifecycle
src/UnityAssetExplorer.I18n/ read-only .ulang catalog and language service
src/UnityAssetExplorer.App/ WinForms shell + WPF 3D/NAudio/WebView2 preview
src/UnityAssetExplorer.Map/ separate Map WinForms app + SQLite .uaemap snapshots
src/UnityAssetExplorer.Native/ optional native codec adapters
src/UnityAssetExplorer.AclWorker/ console-only ACL host and build/publish integration
tools/ LangEditor and i18n build/check scripts
licenses/ project and third-party license files
native/ native binaries and their source/build notes
docs/ design, format and maintenance documentation
The parser core never references the desktop app or the native project. A game plugin may
replace a container or a whole serialized type, returning the standard typed asset; private
fields are exposed only through a string-keyed extension bag. Plugins are compile-time
modules, not dynamically loaded DLLs.
See docs/00-context-recovery.md for the documentation index.
Licenses
UnityAssetExplorer is MIT-licensed. Third-party components and their retained license texts
are listed in licenses/THIRD-PARTY-NOTICES.md.
AnimeStudio/Studio/AssetStudio, ACL, BCnEncoder.Net, AssetRipper.TextureDecoder, SmolV and
the SPIR-V disassembler are MIT/BSD-compatible; Ooz is GPL-3.0-or-later with its corresponding
source archive; FBX SDK is subject to Autodesk terms; D3DCompiler is a Windows SDK
redistributable; KevInc.CrnLib is Zlib-licensed.
评论