Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


unity_build_information_detection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
unity_build_information_detection [2025/04/01 08:44] 89.110.118.182unity_build_information_detection [2025/11/05 09:46] (current) – old revision restored (2025/10/22 09:10) klea
Line 1: Line 1:
-Constructive feedback! Development areas!  +====== Inspecting Information from Built Unity Players ====== 
- Mostbet Azərbaycanda ən populyar bukmeker və kazinodur! Bonuslar və yüksək mərc imkanları sizi gözləyir➡️ <href=https://mostbet-aze-giris.com/> mostbet az casino </a  + 
-Useful illustrations! Hands-on value! Mostbet Finland parhaat vedonlyöntimahdollisuudet! Rekisteröidy nyt ja saa bonus➡️ <a href=https://jyvaskylankiri.fi/> Mostbet Finland</a>  What sets this apart is the perfect marriage between theoretical knowledge and practical, real-world implementation strategies.Collective benefit! Bringing people together!  +It can be useful to inspect information from built Unity playersThis can be helpful to check whether certain DLL is used by the game, or verify that the player built properly. 
- Mostbet Colombia: ¡La mejor plataforma de apuestas deportivas! Bonos exclusivos para nuevos usuarios➡️ <href=https://mostbet-win.co/>mostbet apuestas </a> . Uplifting ending! Ready for action! The comprehensive nature of this guide means readers get everything they need in one perfectly organized place.+ 
 +===== High Level ===== 
 + 
 +  * [Android] .xapk/.apk/.so can be traversed with [[https://www.7-zip.org/|7-Zip]] 
 +  * Unity asset file headers can be inspected with any hex editor((Even Notepad works, although only for files <500KB. Notepad may struggle to open bigger files.)) 
 + 
 +===== 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]((since 2017.4)) ''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'' in ''global-metadata.dat'' with hex editor. 
 + 
 +Use cases: 
 + 
 +  * We can determine URP usage by looking for ''Unity.RenderPipelines.Universal.*.dll''((e.g. ''Unity.RenderPipelines.Universal.Runtime.dll'')) 
 + 
 +===== Notes ===== 
 + 
 +  * In non-IL2CPP((ieMono)) builds, all code that made it into build is also available to the end user and can be viewed with tools ((dnSpy or ILSpy for .dll files)) relatively easily. Obfuscation can mitigate this, however the most effective obfuscation methods((runtime assembly generation/loading and other methods relying on JIT)) are not compatible with IL2CPP so can't be used by developers. 
 +  * ''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.1743497087.txt.gz · Last modified: 2025/04/01 08:44 by 89.110.118.182

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki