logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum DriverInstallationState

    Where one backend sits in the install-then-define transaction.

    Namespace: Serenity.StructuredPersistence.Infrastructure.Editor.Drivers
    Assembly: Serenity.UnityStructuredPersistence.Infrastructure.Editor.dll
    Syntax
    public enum DriverInstallationState
    Remarks

    The two middle states are not equally bad, and that asymmetry is the reason this whole check exists. EnabledButIncomplete stops the entire project compiling, because the provider asmdef references the driver assembly explicitly and Unity cannot resolve it — and the resulting error names the assembly, not the missing install. InstalledNotEnabled merely logs a warning and falls back to another backend at runtime. So the safe ordering is always install, verify, then define; never the reverse.

    Fields

    Name Description
    EnabledButIncomplete

    The define is set while driver files are missing: the project will not compile.

    InstalledNotEnabled

    Driver files are present but the define is not set: the backend falls back at runtime.

    NotInstalled

    No driver files and no define: the backend was never set up, and nothing is wrong.

    Ready

    Driver files are present and the define is set.

    In this article
    © 2026 Serenity. All Rights Reserved