unity_build_information_detection
Table of Contents
Inspecting Information from Built Unity Players
It can be useful to inspect information from built Unity players. This can be helpful to check whether a certain DLL is used by the game, or verify that the player built properly.
High Level
Unity Version
Find this information in:
.unity3d
file header- resource file headers, for example:
unity default resources
globalgamemanagers
level<number>
sharedassets<number>.assets
- files with 32 characters long names using hexadecimal characters [0-9a-f]
- [Android]2)
lib/<arch>/libunity.so/.note.unity
- [Windows]
<executable>/.rsrc/version.txt
- [Windows]
UnityPlayer.dll
- Properties / Details / File version
Used Assemblies
These methods work even with IL2CPP builds.
ScriptingAssemblies.json
- Search for
.dll
inglobal-metadata.dat
with a hex editor.
Use cases:
- We can determine URP usage by looking for
Unity.RenderPipelines.Universal.*.dll
3)
Notes
global-metadata.dat
appears to contain all the method/property/field names in UTF-8 (or at least those that were used and not stripped) from all the assemblies that were used by the build.
unity_build_information_detection.txt · Last modified: 2025/03/20 01:34 by 146.70.58.142