dots-hybrid-bridge
CommunityOne-way Unity↔DOTS state synchronization
Software Engineering#unity#dots#hybrid ecs#unityobjectref#subscene baking#one-way ownership#event driven ecs
AuthordyCuong03
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents hybrid Unity/DOTS projects from drifting into dual-ownership bugs by clearly enforcing that DOTS owns runtime truth while Unity only reads it for presentation and input-driven requests.
Core Features & Use Cases
- Unity asset references in ECS components: Use
UnityObjectRef<T>insideIComponentDatafor Mesh, Material, AudioClip, and ScriptableObject references. - Correct hybrid read/write boundaries: Establish when Unity must read entity state (HUD/minimap/presentation) versus when Unity must trigger ECS work via request entities.
- Authoring/baking and SubScene safety: Use Bakers for bridge setup and follow SubScene boundary rules to avoid rebake wiping and serialization/domain-reload issues.
Quick Start
Ask an AI to review your current hybrid setup and refactor it to a DOTS-owned one-way bridge using UnityObjectRef<T>, request entities for Unity→DOTS triggers, and main-thread deref for any Unity reads.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dots-hybrid-bridge Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#dots-hybrid-bridge Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.