A simple command line tool that analyzes the directory of a Unity project and creates at a provided output directory:
- For each .unity scene file in the project a .unity.dump text file that illustrates the GameObject hierarchy inside the scene;
- An UnusedScripts.csv file listing the path and GUID of each script in the project that is neither attached to any GameObject in any project scene nor is it exposed in the editor through another script.
cd <project root>\Compiled Binaries\.\UnityProjectAnalyzer.exe <project directory> <output directory>cd <project root>/Compiled Binaries/UnityProjectAnalyzer <project directory> <output directory>If you want to build the project yourself, the current dependencies are: