ENGINEERING / CASE

Enterprise Engine

Reusable infrastructure for building different games in Unity. Explore the system, what has been verified, and what remains open.

Development involves AI agents. Task definition, architecture decisions and acceptance of results are mine; every claim on this page rests on a report or a commit.

Version
0.3.0
Released
18 September 2026
Unity
6000.2.12f1
Snapshot
3 December 2026 · dev

One foundation. Different games.

Enterprise Engine is a set of reusable packages and contracts built on Unity. Each game connects as a separate project: shared systems do not depend on its genre, while its scenes and content stay with the game.

In development · internal use
THE SYSTEM IN FOUR SLIDES
01 / 04

01 / PURPOSE

Start the next game further ahead

Saves, economy, events, UI, and other recurring systems belong to the Engine. A new game can focus on its own mechanics and content.

Unity remains the underlying technology.

02 / BOUNDARY

Engine separate. Game separate.

Reusable contracts live in Engine packages. Game code, scenes, prefabs, and tuning stay in the cartridge. Dependencies run from the game toward Engine contracts.

Engine / Packages → Game / Assets/Game

03 / COMPOSITION

Choose the platform at the edge

Project Composition connects a game to its selected adapters. This seam allows WebGL and Windows targets to evolve without vendor code in gameplay.

Game → Contracts → Composition → Platform

04 / EVIDENCE

Prove the architecture in games and tests

The systems have been used in different prototypes. An isolated test run passed a full Unity EditMode and PlayMode suite and was merged into dev on 10 Nov 2026.

325 EditMode + 260 PlayMode · 02 Nov 2026

ARCHITECTURE / CONTRACTS

How it works

In the audited architecture snapshot, package dependencies point inward: adapters depend on application and domain. Games use contracts; bootstrap assembles implementations. This is a division of responsibility on top of Unity.

00

Domain

Unity free

Data model and core rules. The inner ring has no dependency on Unity or game scenes.

01

Application

Contracts

Services and ports for saves, progression, economy, events, and telemetry.

02

Infrastructure

Adapters

Implementations for storage, input, audio, content, VFX, and analytics; platform integrations connect separately.

03

Bootstrap + game

Composition

Bootstrap wires dependencies. The cartridge owns its logic and authoring: scenes, prefabs, visuals, and game content settings.

CATALOG / DEPENDENCIES

Modules and dependencies

Dependencies point inward: adapters depend on application and domain, composition wires the implementations. Editor tools stay apart from the runtime.

MODULE MAP

Ring 0 · domainno Unity
Ring 1 · applicationservices and ports
Ring 2 · adaptersUnity and platforms
Ring 3 · compositiondependency wiring
Editoreditor tools

No module selected

Press any package to see its purpose, ring, type and dependencies.

Module catalog · Packages/CLAUDE.md, CHANGELOG.md and package.json files on Enterprise Engine dev @ 6fdca73a, read 03.12.2026
PackageRingTypeStatusPurpose
domainRing 0 · domainRuntimein v0.3.0Entities, value objects and ports. No Unity dependency, so it is tested without the PlayerLoop.
applicationRing 1 · applicationRuntimein v0.3.0Services and rules on top of the ports: saves, economy, events, telemetry, settings, localization, app lifecycle.
securityRing 2 · adaptersRuntimein v0.3.0Save protection, including the anti-rollback journal.
persistenceRing 2 · adaptersRuntimein v0.3.0Save storage under one data root; on WebGL, a flush when the tab is hidden.
audioRing 2 · adaptersRuntimein v0.3.0Sound categories, a voice budget, music with crossfades and playlists, ambient loops, player volumes.
inputRing 2 · adaptersRuntimein v0.3.0Input adapter on top of the Unity Input System.
cameraRing 2 · adaptersRuntimein v0.3.0Camera and camera anchors addressed by string id.
contentRing 2 · adaptersRuntimein v0.3.0Loading authored content and the anchors inside it by string id.
vfxRing 2 · adaptersRuntimein v0.3.0Effects with object pooling and a guaranteed return to the pool.
uiRing 2 · adaptersRuntimein v0.3.0UI components, including LocalizedText — a TextMeshPro text that shows a localization key.
analytics.gameanalyticsRing 2 · adaptersRuntime + Editorin v0.3.0GameAnalytics adapter as one of the telemetry sinks.
platform.steamRing 2 · adaptersRuntimepartially verifiedSteam: start-up, overlay, store pages, shutdown after the save. In dev since 13 Nov 2026; verified against an API stub, not real Steamworks.
platform.crazygamesRing 2 · adaptersRuntimein game branchesCrazyGames ads for WebGL. Lives in game branches, not in dev.
bootstrapRing 3 · compositionRuntimein v0.3.0Composition root on VContainer: EngineScope, ProjectComposition, adapter slots and a guard against direct registration.
toolsEditorEditorin v0.3.0Doctor, validators, the Telemetry Dashboard and other editor tools.

FROM GAME TO PLATFORM

One game, separate builds

01

Game cartridge

Mechanics, content, and Unity authoring belong to the individual game.

02

Engine contracts

The game asks for a service through an interface rather than constructing an SDK.

03

Project Composition

The composition root selects adapters for the target platform.

04

Target build

Separate profiles and content checks must prove that the build is correct.

RUNTIME / DATA

Data flows

Three paths that saves, monetization and telemetry rely on.

Saving on exit

  1. IAppLifecycle: Foreground → Background or Quitting
  2. AppQuitSequence: every SaveState step first
  3. Save flush (desktop waits up to 2 s)
  4. Shutdown steps, such as stopping Steam

An ad pauses the game

  1. The game asks AdsService to show an ad
  2. AdsService takes a Gameplay pause hold
  3. The network adapter shows the ad
  4. The hold is released on every ending: shown, skipped, failed, cancelled

Event → telemetry

  1. The game publishes an event
  2. Telemetry collects it
  3. The cartridge's and the composition's sinks receive it
  4. A failing sink is isolated from the others

ADR / WHY

Decisions and their reasons

  • One version for the whole suite

    A game is built on “Enterprise Engine 0.3.0”, not on a set of independently drifting packages. The cost: a fix in one package bumps them all.

  • The platform is chosen at the edge

    ProjectComposition lives in the title's composition assembly, not in the cartridge. Game code never names a vendor, and one game can ship to several targets.

  • One provider per slot, or an error

    VContainer silently keeps the last registration. So two ad sources or a direct port registration stop the container build with a clear message.

  • Release builds do not pretend

    Ad, purchase and share stand-ins exist only in the editor and development builds. In release an empty slot honestly answers “unavailable” instead of handing out rewards for free.

  • Tests never touch the developer profile

    All Engine data lives under one root that can be redirected in the editor. Tests run on a disposable copy of the project with a check that the profile did not change.

VERIFIED / LIMITS

What the evidence supports

Each result belongs to a specific work snapshot. Green tests on a branch do not make a public SDK or Steam release.

AUDITED

Package separation

The Engine v0.3.0 asmdef graph audit found no inward dependency violations. Engine packages are separate from Assets/Game.

TESTED ON BRANCH

Isolated test runs

On 02 Nov 2026, the isolated harness and unified data root passed 325/325 EditMode, 260/260 PlayMode, and 27/27 negative controls. The branch was merged into dev on 10 Nov 2026 (7b75b6da); tests now run only through the harness.

PARTIAL

Platform composition

In a Blood Rave work branch, game code was separated from CrazyGames/Steam composition; a clean Win64 player and Steam runtime are still unproven.

NOW / NEXT

Work in progress

This is the platform's development status, not a release claim for any individual game.

  1. DONE

    Test isolation in dev

    The disposable-sandbox harness and the single data root were merged into dev on 10 Nov 2026. Tests no longer run directly on the working project.

  2. CURRENT STAGE

    Full run on the current dev

    Since the merge, dev gained the Steam package, localization and audio work. The next check is a full EditMode and PlayMode run through the harness on the current dev.

  3. NEXT

    Prove clean platform builds

    Verify that non-target SDKs are excluded, audit player contents, and run Windows/WebGL builds. An earlier technical Win64 attempt failed the content audit.

  4. LATER

    Complete Steam and developer handoff

    The Steam package in dev since 13 Nov 2026 is verified only against an API stub. Running with real Steamworks, gamepad, runtime QA and reproducible delivery remain separate stages. External developer onboarding is on hold.

LIMITS

Known limitations

What is not proven yet or deliberately not done.

  1. A clean Win64 build is not proven: an early attempt (October 2026) failed the content audit.

  2. There is no full test run on the current dev since Steam, localization and audio were added.

  3. The Steam package is verified against an API stub, not real Steamworks.

  4. On WebGL the final write on tab close is not guaranteed — the browser does not wait for IndexedDB.

  5. VContainer and UniTask install from git without a tag; the lock file pins the version.

  6. Purchases, leaderboards, haptics and sharing have no adapter override point yet.

  7. Engine is internal infrastructure, not a commercial SDK: there are no public releases or licences.

Status from git history and working reports as of 03 Dec 2026. This is not a public release or licensing announcement.