Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/7
Extensively tested on 2019LTS 2020LTS, and 2021LTS. 2022 support added in 1.4b!

Auto-ASMDEF provides an easy way to create assembly definition files to your entire project or to selected folders, in a way that resembles Unity's special compilation folders.

 

MANUAL

 

Why use assembly definition(or asmdef) files?
Using assembly definitions can speed up compilation times, because when set up properly you only have to recompile the part of your code that's changed - the most common scenario is you have a lot of assets from the store which clutter both your first and second passes, meaning whenever you change your own code you'll have to recompile those as well, even when they aren't changed at all, an essentially empty project with only a handful of popular assets can lead to even a minute long compilation each time when in reality you might only have a few thousand lines of code that needs to be recompiled.

 

So what's the catch?
Setting them up by hand can be extremely cumbersome. Each time you create a new asmdef file Unity will recompile, then when you add an assembly definition reference it has to recompile again. I set up a test project(with Playmaker, Behaviour Designer, Doozy UI, MasterAudio and EVP5 - so nothing crazy, I'm certain most of you have a similar setup even on day0), these required 487 asmref files - and not only that, you have to make sure you add them to the correct assembly(which as you might imagine can be a huge pain when you have to do it 487 times). But apart from that, even if I know exactly where to place the asmref files, and which assembly I want to target, in this case it took approximately 11 seconds to recompile my scripts, doing it 487 times would mean almost an hour and a half of waiting alone. Ouch.

 

Alright, so we ended up between a rock and a hard place, where to go from here?
Auto-ASMDEF solves these issues completely. You set a target directory you want to use for storing the created asmdef files, if you want to always include assemblies you can set them up here as well, you can set up the excluded folders if you want, then press a button and boom, done. It will automatically create the required asmdef files, and the references in each subfolder which contains a script, and at that point you only have to recompile those assemblies when you make a change to them(for example if you update them from the store).

 

The folder structure stays the same, your files won't be moved or changed in any way, only new ones will be created(and this whole process can be reversed with a single click as well if needed).

 

Requirement: 2019.2 and up(it relies on .asmref files which were added in an alpha version of 2019.2)

Auto-ASMDEF

(19)
79 users have favourite this asset
(79)
$19.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
2.0 MB
Latest version
1.4b
Latest release date
Aug 29, 2022
Original Unity version
2019.4.40
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR