How to Reverse Engineer a Unity Game

In this tutorial, you’ll use ILSpy and AssetStudio to extract code and assets from a compiled Unity game. By Eric Van de Kerckhove.

5 (4) · 1 Review

Download materials
Save for later
Share
You are currently viewing page 3 of 3 of this article. Click here to view the first page.

Where to Go From Here?

Congratulations on finishing this tutorial! You now know how to extract the source code and assets out of a compiled Unity game. I sincerely hope these techniques will prove as useful for you as they did for me.

You can download the sample game using the Download Materials button at the top or bottom of this tutorial if you want to play around with it some more.
If you want to try out some other tools to reverse engineer Unity games, here are my recommendations:

  • dnSpyEx: Similar to ILSpy, but it allows you to debug and even edit assemblies
  • IL2CppDumper: Extracts the source code from games that were built with IL2CPP
  • AssetRipper: An alternative to AssetStudio to extract assets

Thanks for reading this tutorial to the end! If you have any questions or comments, feel free to join the discussion below.