Skip to content

Prevention ​

AssetRipper is designed to respect game developer intentions. This guide is for Unity developers who want to make the assets or scripts in a released build harder to extract or inspect. The options depend on what you want to protect and how your game loads it.

Assets and game data ​

  • Serialized files: Learn why changing files that Unity loads directly can break a build, and which assets you can move out of those files.
  • AssetBundles: See how changing the on-disk bundle format affects both AssetRipper and your game's loader.
  • Custom file formats: Consider the trade-offs of storing game data in a format your own code reads instead of using a built-in Unity format.

Scripts ​

  • Mono: Learn what .NET decompilers can recover from managed assemblies and when switching scripting backends might make sense.
  • IL2CPP: See how changes to the metadata format or native layout can affect script analysis and what must stay in sync for the game to run.

What these changes can and cannot do ​

Preventing AssetRipper from reading a file is not the same as making the content impossible to recover. Your game still needs to read its data and execute its code, so other tools or someone inspecting a running build may still be able to recover or analyze parts of it. Weigh the added build and maintenance work against what you want to protect, and test changes in a built player on each target platform.