Current sales My Tracked Assets Login
Exclude From Build 2 - Reduce Build Size Tool preview
Unity

Exclude From Build 2 - Reduce Build Size Tool

By KAMGAM

$49.99

Rated 5.0/5 from 18 ratings on Unity.

About Exclude From Build 2 - Reduce Build Size Tool

  • Tools, Systems & Learning > Development Tools & Automation
What does it do exactly?
1. Hides files & directories before build (StreamingAssets, Resources, Plugins).
2. Removes game objects and components from the scenes during build.
3. Let‘s Unity finish the build.
4. Reverts step 1 and 2.
Perfect for:
Demos (remove parts of the game)
Third Party SDK Removal (temporarily for testing or permanently)
Platform specific content (exclude per build target, #define, ...)

✔️ Fast Exclusion Workflow
Just do this: Right-Click -> Exclude From Build, done!
✔️ Unity 6.3 ready
But it also supports Unity 2022 , 6.x, ... LTS
✔️ Exclude Components, GameObjects, Files, Scenes, ..
Supports excluding components, game objects, directories, files (including prefabs and scenes).
✔️ Reduce Build Size
A quick and easy way to reduce your build size.
✔️ Test Mode
Quick iteration! See how removing files affects your project before building (very handy for editor stuff too).
✔️ No Runtime Code
Everything is editor only! No exclusion scripts in your build, none, zero, nada.
✔️ Convenient Exclusion Logic
Control what is excluded by Build Target, SubTargets (headless server builds), Build Profiles, Script Defines and Development/Release flag. And if that is not enough you can always make multipe groups and choose manually.
✔️ CLI Interface
If you are doing some headless builds via command line then you can use the built-in CLI interface do that, no UI needed.
✔️ Full Source Code included
Plus it uses assembly definitions to speed up compile times.
You may ask: Isn't Unity excluding unused Assets by default?
Yes, but also no. Here are some use cases for which this tool might come in handy:
● StreamingAssets & Resources:
By default Unity does not exclude some folders from builds even if their content is not used. /StreamingAssets and /Resources for example are such folders. Imagine having some high-res and low-res versions of files for different platforms. If you have them located in these special folders then they would all be part of every build.
● More flexible build targets and profiles:
Imagine you have an Android build for Google Play with a plugin which depends on some Google services. Now you may also want to make a build for the Amazon Store (also Android) but this one does not support the plugin or the Google services you are using. Usually you would make a fork or remove/add those plugins manually for every build. Now this tool allows you to configure what files to use for what target (and more importantly sub-targets like Amazon, GooglePlay, InHouse, ...).
● Some third party sdks hook into OnPreprocessBuild and add quite some stuff which you may not want. For testing ("which one is breaking my build") it is very convenient to just make Unity pretend a certain folder does not exist at all. My recommended workflow: Make a test group, start an exclusion test, close Unity, restart Untiy and check the results.
● You can also have GameObjects or Components automatically removed in the build step. Maybe you have a demo or test build which you don't want certain level parts in. Just mark them as "excluded from build" and they are gone. Quick iteration and testing.
Installation
Download the Asset and import it into your project.
You are done, no additional setup is needed.
Usage
● You can exclude files in the project window via Right-Click > Exclude From Build and components by adding the ExcludeFromBuild component (will remove itself during build).
● A new menu will be available under "Window > Exclude From Build" to manage your exclusion groups.
● If you want to exclude assembly definitions then please use the test-aware or delayed-build workflows (see manual).
● Go check out the manual once the import is done.
Info: The settings file will be created under Assets/.

Unity price last checked .

Prices and availability may change.