A powerful Unity build‑pipeline utility that exclude unused SDKs, reduces build size, and automates clean CI/CD workflows based on build Profile/Platform and used Define-Constrains.This package is SRP‑agnostic. It operates only on the Unity Editor build pipeline.Building for different platforms or custom profiles shouldn't mean wrestling with massive project sizes, redundant native binaries, or missing file errors. Standard Unity define constraints prevent C# compilation, but they do not stop native plugins (.aar, .framework) or external resolvers from inflating your final build or triggering unwanted app permissions.SDKBuildExcluder is an automated, high‑performance build-pipeline utility designed for Unity projects that rely on multiple SDKs with differet build profiles, it physically quarantines assets, disables native plugins, and blinds external resolvers prior to the build process. It eliminates the need for duplicate project clones, manual SDK deletion, or risky file removals by programmatically excluding unused SDKs based on active scripting‑define symbols.(Set your configuration once and let the Editor handle the heavy lifting)Who is this for?This tool is genre-agnostic. Whether you are developing hyper-casual mobile games, complex AR applications, or maintaining multiple builds, this utility enforces clean architecture principles by keeping your project decoupled and lean. It handles neatly organized UPM packages and messy, scattered legacy SDKs with equal precision.How it works:Using a combination of assembly‑definition control, plugins control, folder hiding, and file‑level excluding, SDKBuildExcluder ensures that unused native binaries, manifests, Gradle/CocoaPods files, and dependency assets never enter your final build. This results in smaller builds, fewer permission issues, and cleaner CI/CD pipelines.The tool is fully customizable through a ScriptableObject‑based settings asset, supports complex SDK structures, integrates with EDM4U, and provides detailed audit logs for DevOps teams. It is suitable for any Unity project that targets multiple platforms or uses conditional SDKs such as Firebase, AdMob, Facebook, or custom enterprise integrations.Automated SDK Excluding: based on scripting‑define symbolsAutomated State Persistence: Utilizes a JSON-backed RestorationMap saved to disk for instant project recovery, even after Unity crashes or failed builds.3-Tier Excluding Architecture: Employs .asmdef isolation with plugins controller, Folder Hiding, and File Hiding to handle both modern UPM packages and scattered legacy SDKs.Zero-Code Configuration: Manage target SDKs, tags, and file extensions entirely from the Unity Inspector via a centralized ScriptableObject.EDM4U Integration: Automatically intercepts the External Dependency Manager for Unity, prompting necessary resolves to keep Gradle and CocoaPods synced.Cross-Platform Sanitization: Safely manages native Android dependencies (Dependencies.xml, .aar) and iOS build files (.projmods, .framework) before they reach Xcode or Gradle.Editor Infection Protection: Automatically isolates unmanaged Editor folders to prevent namespace compilation errors across the project.Audit-Ready Logging: Outputs detailed action logs to the Unity Console and a dedicated .txt file for CI/CD DevOps tracking.Pre-Build Watchdog: Built-in validation checks ensure you are compiling with the exact SDK configuration required for your active profile.Used for code review and to suggest some code snippets during development. All final code was manually written, validated, and tested by developer. No AI‑generated assets or models are included in this package.


