Skip to content

Lab packaging policy: keep Datra.Lab out of player builds by default #24

Open

Description

@penspanic

Question from the owner: is Datra.Lab guaranteed not to ship in a game's player build?

Today (#17): Datra.Lab is a plain .NET project, not a Unity package (no asmdef/meta), so a Unity player cannot include it. The only core addition is KnobAttribute (metadata, no behaviour).

Decide and document before adding Unity-side pieces (live push client, session records):

  • Lab code is editor/dev-host only by default. Attributes stay in core.
  • Any Unity runtime piece (e.g. a live client) lives in its own assembly with defineConstraints (e.g. DATRA_LAB or development builds only), so a release player excludes it without consumer effort.
  • An opt-in path for games that want lab features in-game (playtest tuning panel): set the define explicitly.
  • Add a build check/test that a release player contains no lab assembly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions