Validator¶
The Validator checks that your project is correctly set up for the active build target. It runs in two modes: on demand from the editor menu, and automatically as a pre-build step. ValidationResult separates errors from warnings (informational).
Running it¶
| How | Trigger |
|---|---|
| Manual | Tools → UpscaleSDK → Validate - runs against the active build target and prints the report to the Console |
| Automatic on build | UpscaleSDKBuildValidator pre-build hook prints the report to the Console |
What gets checked¶
The shared baseline applies to every platform:
- Company name
- App version follows
X.Y.Zsemantic versioning - Unity Input System package is installed and enabled
UpscaleSDKConfigasset (namedConfig) exists atResources/UpscaleSDK/- At least one scene is in Build Settings (warns if
UPSBootstrapis missing) - Incremental GC is enabled (warning)
- Splash screen is disabled (warning)