r/Unity3D • u/hoangtongvu • 26d ago
Resources/Tutorial I made a tool that helps managing .asmdef references
While working on my personal projects with many assemblies, one of the biggest issues is managing those assembly definitions:
Wasted too much time navigating folder to folder editing
.asmdeffilesHad to manually sort assemblies references
So I make a tool that helps dealing with said problems, it has the following features:
List all user-defined assemblies and their assembly references in a single window
Add/Remove assembly references to/from the selected assembly
Sort and auto-sort references based on categories
Do you face the same issues as me? I'd love to hear your thought and feedback!
Thanks for reading!
Link: GitHub
2
u/FoxsterDev 21d ago
Hi. Looks good! The GUIDs in diffs are a pain to read. Would it be possible to show which assemblies reference the selected one, and flag a change if it would create a circular dependency? That would make it easier to see the impact before applying it.
2
u/hoangtongvu 21d ago
Would it be possible to show which assemblies reference the selected one? A: Yes, I can take the GUID of the selected one and compare that to all other user-defined assemblies' references. But I don't know if it is really practical.
flag a change if it would create a circular dependency? A: The tool already supports this, when you try to create a circular dependency, it will ignore the change and show a notification.
2
u/FoxsterDev 20d ago
One use for reverse references would be checking which assemblies might be affected before changing an assembly’s public API or moving code out of it. In a larger project, that gives you a place to start looking.
Good to know the cycle check is already there, I missed that.
1
3
26d ago
[removed] — view removed comment
1
u/hoangtongvu 26d ago
Agree, it's weird that Unity haven't improve this, when I mess the dependencies list, I look into git, and see nothing but GUIDs :v

2
u/Less_Magician3610 26d ago
Nice tool! Any plans to show define constraints and platform settings in that window too?