{"repo":"AlexeyPerov/Unity-Dependencies-Hunter","free":true,"listed":false,"github":"https://github.com/AlexeyPerov/Unity-Dependencies-Hunter","clone":"git clone https://github.com/AlexeyPerov/Unity-Dependencies-Hunter.git","description":"This tool finds unreferenced assets by scanning all files in your Unity project.","language":"C#","stars":721,"topics":["unity3d","references","unity","dependencies-hunter","unused-resources"],"license":"MIT","category":"game-templates","readme_excerpt":"Dependencies Hunter Unity3D Tool This tool finds and/or deletes unreferenced assets in Unity project. It can also list all assets in project and show who reference them. Addressables and AssetReference detection is also supported. Enable it in tool settings if needed. All code combined into one script for easier portability. So you can just copy-paste DependenciesHunter.cs to your project in any Editor folder. You can also install it via UPM using link https://github.com/AlexeyPerov/Unity-Dependencies-Hunter.git. If you are interested in MCP for Unity have a look at Unity-Open-MCP Complete list of other tools see in the end of this document. --- How it works At first, it calls to form a map of all assets. Then it uses: to find dependencies for each of those assets. As a result dependencies map is formed. Then it simply finds all assets which are not presented as a dependency within this map. Such assets considered as unused if they aren't marked as to be ignored in this analysis (by a list of RegExp patterns). What counts as a dependency The main analysis is based on Unity's AssetDatabase.GetDependencies , so it follows the references Unity exposes through asset serialization and import data. Optional analysis settings can extend this: - Scan Addressables AssetReferences treats serialized Addressables AssetReference fields as regular dependencies. - Detect Addressables marks assets registered in Addressables settings and keeps them out of delete eligibility. - Terrain-data re","default_branch":null,"files":null,"tree":[],"storefront":"/r/AlexeyPerov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AlexeyPerov/Unity-Dependencies-Hunter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}