Skip to content

Custom File Formats ​

AssetRipper reads Unity file formats and does not support custom or third-party formats. Renaming a standard Unity file does not change its format, and wrapping one in a custom container only changes how the file is delivered. Once unpacked, the original Unity file can still be read.

Loading custom content in your game ​

Your game needs a runtime loader that understands the chosen format. For example, a game could store dialogue in its own binary format and load the text as needed, rather than importing it as a Unity TextAsset. This approach works for content your game loads itself; it does not replace the serialized files that Unity reads directly.

Trade-offs and limits ​

A custom format adds work to both the build process and the game: one needs to write the files, and the other needs to read them. Test the loader in a built player on each target platform, and check that the same content is not also shipped in Unity's standard formats.

An unsupported format can prevent AssetRipper from reading the file as distributed, but it does not make the content impossible to extract. Other tools may already support a third-party format, and a custom format can be reverse-engineered.