The difference at a glance
| Property | .unitypackage | AssetBundle |
|---|---|---|
| Created by | Exporting assets from the Unity Editor | A build step, with BuildPipeline. or Addressables |
| Contains | The original project files: models, textures, scripts, prefabs and their .meta files | Assets converted into Unity's built format |
| Platform | Not tied to a build platform | Built for one target platform |
| Used for | Moving assets between projects | Loading content while a game runs |
| First bytes | 1F 8B (gzip) | The text UnityFS |
| Open with | EasyExtract, or import into Unity | UABEA or AssetRipper |
Check which one you have
File extensions get changed all the time, the first bytes don't. The quickest check is to drop the file on the EasyExtract web extractor. If it's an AssetBundle, it tells you, and the file never leaves your browser.
To look at the bytes yourself, use PowerShell 7:
Format-Hex -Path .\MyFile -Count 16or a terminal on macOS or Linux:
od -A x -t x1 -N 16 MyFile1F 8B: gzip, so a .unitypackage or another .tar.gz55 6E 69 74 79 46 53, the textUnityFS: an AssetBundle built by a current Unity version50 4B: a ZIP file. The web extractor opens it if it contains exactly one .unitypackage52 61 72 21or37 7A BC AF 27 1C: a RAR or 7z archive around the real file. Unpack it first
Which tool reads which file
.unitypackage: EasyExtract
EasyExtract restores the original files under their project paths, in the browser or in the free desktop app, and scans scripts before you import anything. It doesn't open AssetBundles or built games. The desktop app says so plainly: “The selected file appears to be a UnityFS asset bundle, not a Unity .unitypackage (gzipped TAR).”
AssetBundles: UABEA
UABEA is a free, MIT-licensed reader and writer for AssetBundles and serialized files, with builds for Windows and Linux. Its author calls it more of a modding and research tool than an extractor and points to AssetRipper for plain extraction. UABE, the tool UABEA was originally based on, is archived and no longer supported.
Built games and bundles: AssetRipper
AssetRipper analyzes Unity game files and can convert their assets into the native Unity engine format. It supports Unity 3.5.0 up to 6000.4, is licensed under GPL-3.0, is actively developed and also has a paid premium edition.
Older tools: uTinyRipper and AssetStudio
uTinyRipper extracts assets from serialized files and asset bundles, but its author suspended development. It supports Unity up to 2019.x, and its repository hasn't changed since January 2022. AssetStudio is archived on GitHub. For anything built with a current Unity version, AssetRipper is the option that is still maintained, and uTinyRipper alternatives compares what is left.
Only extract what you're allowed to use
Extracting a file doesn't change who owns it. Check the license before you reuse anything, whether it came from a package you bought or from a game's files.
More on .unitypackage files
What is a .unitypackage file? covers what's inside a package, how to open one with or without Unity, and why you should scan it before importing.