View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.0
- Last updated
- First released
- Unity version
- 6000.3.9 or later
- Package size
- 312 KB
- Files
- 117
- Views in the past week
- 10
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $44.99 on
Keywords
Platform & Define Compile Matrix Guard
Compile every reachable platform and define path without switching build target, then pinpoint each broken condition, assembly, and platform.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 8
Platform & Define Compile Matrix Guard screenshot 1
About this asset
Conditional code can stay broken for months because the active editor compiles only one platform and define set. Platform & Define Compile Matrix Guard reads the paths your project can reach, plans a bounded matrix, and compiles them with Unity's own compiler before the release branch exposes the problem.
What it helps you do
- Read asmdefs, define constraints, platform filters, C# preprocessor conditions, and package versions.
- Build a small covering matrix instead of testing every theoretical combination.
- Compile each configuration with Unity's Roslyn toolchain without switching the active build target.
- Name the exact condition, assembly, platform, defines, file, and compiler error.
- Detect impossible asmdef constraints, undefined symbols, and code paths no reachable configuration can compile.
- Cache clean cells, split the matrix into CI shards, and merge deterministic evidence.
- Export JSON, Markdown, and self-contained HTML reports.
Use it when platform-only code breaks late, feature defines multiply, asmdef constraints become hard to reason about, or one CI job cannot afford the whole matrix.
The tool compiles; it does not build, link, run, or certify a player. A clean matrix proves the planned compile cells passed, not that every possible define combination or platform runtime is correct.
Read the complete documentation.
From the publisher's Asset Store listing.
Technical details
PRODUCT TYPE
- Editor-only conditional-compilation planning, Roslyn execution, analysis, reporting, and CI tool.
REQUIREMENTS
- Unity 2022.3 or newer.
- No package dependency, service, network access, or build-target switch.
- Platform modules are not required merely to compile the bounded source matrix.
KEY FEATURES
- Reads asmdefs, include/exclude platforms, version defines, define constraints, C# #if expressions, and project define sets.
- Computes a bounded covering matrix from reachable project conditions.
- Uses Unity's own Roslyn compiler and assembly references.
- Exact diagnostics include configuration, condition, assembly, file, line, and compiler message.
- Static findings for impossible constraints, undefined symbols, and unreachable conditional branches.
- Parallel cells, deterministic caching, CI sharding, and merged results.
- JSON, Markdown, and self-contained HTML reports plus batch exit codes.
IMPORTANT LIMITS
- Compiles only: no player build, link, native compile, runtime execution, or platform certification.
- Covers the planned reachable matrix, not every theoretical symbol combination.
- Does not switch build target or write Player Settings, asmdefs, source files, or package configuration.
- Reflection, generated runtime behavior, and platform SDK behavior remain outside compile proof.
Full documentation.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 6000.3.9f1 | Compatible | Compatible | Compatible |
As listed on the Asset Store.