Brokkr/surfaces/unity
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-15 00:20:44 +01:00
..
Packages/com.gamecult.brokkr Add active Brokkr sync pass 2026-06-15 00:20:44 +01:00
README.md Rebuild Unity bridge as CultMesh mirror 2026-06-12 16:30:41 +01:00

Brokkr Unity Adapter

This package lets the Unity Editor publish its scene, component, asset, command, receipt, Quest, and Eve/CultUI state as typed CultCache documents synced through CultMesh.

Install By Local Path

Add this package to a Unity project's Packages/manifest.json:

"com.gamecult.brokkr": "file:E:/Projects/Brokkr/surfaces/unity/Packages/com.gamecult.brokkr"

Vendor the CultMesh runtime DLLs before opening Unity:

.\tools\vendor-cultmesh-unity.ps1

Then open GameCult > Brokkr.

Local Smoke

In Unity:

  1. Open GameCult > Brokkr.
  2. Confirm Broker URI is cultmesh://brokkr.
  3. Confirm CultMesh Cache points at .brokkr/unity-editor.ccmp.
  4. Click Start CultMesh Mirror.
  5. Click Capture Snapshot.
  6. Click Publish Mirror.

The Unity adapter writes the latest editor snapshot to:

unity/host/current

Verse-side command clients write brokkr.unity.command_intent.v0 documents to:

unity/commands/{commandId}

Unity watches those command intents, mutates the editor, and publishes receipts to:

unity/receipts/{commandId}

The Unity plugin is still an adapter. Unity owns Unity editor truth; Brokkr owns provider discovery; CultCache and CultMesh own the live mirror lane.