Primary Content Export
Use Primary Content Export when you want to inspect individual files outside Unity rather than open a reconstructed project. It exports 3D models as well as images, media, scripts, fonts, and text assets.
The main difference is how the two modes export meshes, scenes, and prefabs. Primary Content Export writes them as GLB files (.glb), the binary form of glTF, which you can open in tools such as Blender. Unity Project Export writes them as Unity YAML assets for use in the Editor.
Meshes
Mesh assets are exported as standalone GLB models. Open a mesh on its own when you want to inspect its geometry without the scene or prefab that uses it.
Scenes and Prefabs
Scenes and prefabs are also exported as GLB models. Use these exports when you want to inspect how objects are arranged together rather than looking at each mesh in isolation.
What GLB does not preserve
A GLB export is a model, not an editable Unity scene or prefab. C# scripts are exported separately; the GLB does not preserve which scripts are attached to objects or Unity-specific settings such as physics settings. Use Unity Project Export if you want to inspect components or edit scenes and prefabs in the Editor.
Other exported formats
These asset types are exported in substantially the same way in both modes. The file extension depends on the asset and on your export settings.
| Asset type | Primary Content output |
|---|---|
| Textures | Image files in the configured export format, or in the original format when the corresponding preference is enabled and the original format is supported. |
| Audio clips | Audio files whose format depends on how each clip is encoded. |
| C# scripts | Decompiled .cs files from the available managed assemblies. The .dll assemblies are exported separately as well. |
| Videos | Extracted video data. VideoClip exports use the extension recorded in the original path, or .bytes if none is recorded. Older MovieTexture assets use .ogv. |
| Fonts | .ttf or .otf files, depending on the embedded font data. |
| Text assets | .bytes files containing the original asset data. Unity's TextAsset can store text or binary data, so not every .bytes file is readable in a text editor. |