explaingit

perfare/assetstudio

15,343C#Audience · developerComplexity · 3/5Setup · moderate

TLDR

AssetStudio is a Windows C# tool for opening Unity asset and assetbundle files and exporting textures, audio, meshes, and animated FBX rigs.

Mindmap

mindmap
  root((AssetStudio))
    Inputs
      Unity asset files
      assetbundles
      Managed folder
    Outputs
      PNG and JPEG images
      WAV and OGG audio
      OBJ meshes
      FBX animations
    Use Cases
      Inspect Unity games
      Extract art assets
      Reverse engineer game data
    Tech Stack
      Csharp
      dotnet
      WinForms
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Extract textures and sprites from a Unity game into PNG files for reference

USE CASE 2

Pull animated character rigs out of a Unity build as FBX for use in Blender

USE CASE 3

Inspect MonoBehaviour data of an unfamiliar Unity title to understand its data layout

USE CASE 4

Convert audio clips from a Unity game into WAV or OGG for archival

Tech stack

C#.NETWinForms

Getting it running

Difficulty · moderate Time to first run · 30min

Needs a matching .NET runtime (4.7.2, 5.0, or 6.0 depending on build) and the Managed folder for MonoBehaviour exports.

In plain English

AssetStudio is a tool written in C# that lets you open, browse, and extract the internal files from Unity game projects. Unity is a popular game engine that packages its graphics, audio, and other content into special container files called "assets" and "assetbundles." AssetStudio gives you a way to read those containers and pull out the individual pieces inside them. The tool supports Unity projects ranging from version 3.4 all the way up to 2022.1, which covers many years of games. Once you load a file or folder through its menu, you can export different types of content: images (Texture2D and Sprite files) can be saved as PNG, JPEG, BMP, or TGA, audio (AudioClip) can be saved as MP3, OGG, WAV, or M4A, 3D models (Mesh) export as OBJ files, and full 3D character rigs with animations (Animator) export as FBX files, a common format used in 3D software. Text data and shader files can also be extracted, as can video clips and fonts. For MonoBehaviour assets, which store custom game script data, AssetStudio will ask you to point it at the game's assembly folder (typically called "Managed") so it can read the data structure correctly. The README also mentions a companion tool called Il2CppDumper for games that use a specific low-level compilation method. To run the tool you need a version of .NET installed on your computer (.NET Framework 4.7.2.NET Desktop Runtime 5.0, or .NET Desktop Runtime 6.0 depending on which build you use). Building from source requires Visual Studio 2022. The README notes the project is not affiliated with or authorized by Unity Technologies.

Copy-paste prompts

Prompt 1
Walk me through using AssetStudio to export every Texture2D from a Unity 2022 game build
Prompt 2
Set up AssetStudio plus Il2CppDumper to read MonoBehaviour data from an IL2CPP Unity game
Prompt 3
Build AssetStudio from source on Windows with Visual Studio 2022 step by step
Prompt 4
Write a script that drives AssetStudio CLI to batch-export FBX rigs from a folder of assetbundles
Prompt 5
Compare AssetStudio against UABE for extracting meshes from a Unity 5 era game
Open on GitHub → Explain another repo

← perfare on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.