
FlexComm – Modular Multi-Protocol Communication Framework for Unity
Eagle Creative
$62.30
$89.00
30%OFF
(no ratings)
Jump AssetStore
The modular communication framework for Unity, built for XR, robotics, simulations, and real-time systems. Manages your external data connections with just a few clicks!FlexComm is a protocol-agnostic, cross-platform communication framework for Unity, designed to simplify and unify external device and service integration across platforms. It supports MQTT, REST, UDP, TCP, Serial, and WebSocket communication—all configurable via a clean Unity Editor interface. One Component serves as the interface for all protocols!Whether you're building XR-based robot control systems, industrial simulations, or research applications, FlexComm enables seamless data routing, message handling, and cross-protocol flexibility. The system is modular, extensible, and fully customizable to suit project-specific needs, with built-in editor tools and runtime diagnostics to accelerate development and ensure reliability.FlexComm is the spiritual successor to DTStacks, a Unity-based MQTT framework originally developed for human-robot interaction and simulation. DTStacks was featured in a peer-reviewed academic publication (see doi:10.1016/j.procir.2024.10.165) and used in multiple robotics research projects. FlexComm expands on that foundation with a fully reworked, protocol-agnostic architecture, broader platform support, and advanced integration features. However, it was designed to also be used by non Unity experts like students and features easy to use editor components and scripts while offering advanced interactions using a unified API.FlexComm has already been adopted in numerous academic publications and ongoing research projects, serving as the backbone for multimodal communication in XR, robotics, and digital twin systems. Some use cases are presented in the videos above!Free Companion ToolkitIncludes FlexComm-Lab, an open-source GitHub project with test tools, protocol simulators, and example integrations to accelerate your development (e.g. minimalist REST, Websocket, etc. - servers which can be run using Python 3.13). This also serves as a Wiki for FlexComm as well as an issue tracker with the main package! This will be updated and expanded as developments progress. Including experimental features, new extensions, etc.. This includes an integration for ROS and ROS2! (ROS side bridge is coming sonn!)Third-Party Notices:This asset uses MQTTnet under the MIT License and NativeWebSocket under the Apache 2.0 License.See the Third-Party Notices.txt and LICENSES folder in the package for full details.Multi-Protocol SupportIntegrates MQTT (v3.1.1 & v5.0), REST, UDP, TCP, Serial, and WebSocket communication directly within Unity.Unified InterfaceUse a single FlexClient component to switch between protocols without modifying your application logic—even during runtime.Modular & Extensible ArchitectureEasily add custom message handlers, stream processors, or entirely new protocols through clearly defined extension points.Cross-Platform CompatibilitySupports Desktop, Mobile, WebGL, and UWP (including HoloLens 1 & 2), with automatic WebSocket fallback where needed.Advanced Messaging FeaturesIncludes MQTT QoS levels, retained messages, and Last Will & Testament for fault-tolerant and persistent messaging.Editor IntegrationReal-time Unity Editor tools for diagnostics, test messaging, connection monitoring, and auto-connect configuration.XR & Robotics ReadyBuilt for XR, robotics, and simulation environments—successfully used on Quest, HoloLens, and real robot platforms.Production & Research ProvenField-tested in both industrial deployments and academic research, including peer-reviewed HRI and digital twin projects.Quick Start & CustomizationComes with prefabs, runtime configuration options, and a clean, developer-friendly API for fast integration.Unity CompatibilitySupports Unity 2021.3 LTS and newer. Can be used with .NET Standard 2.1 but .NET Framework is recommended since .NET Standard does not offer Serial support.Free Companion ToolkitIncludes FlexComm-Lab, an open-source GitHub project with test tools, protocol simulators, and example integrations to accelerate development. This will be updated and expanded as developments progress. Including experimental features, new extensions, etc.. This includes an integration for ROS and ROS2! (ROS side bridge is coming sonn!)ChatGPT was used to write professional and clear documentation as well as create marketing materials. Co-Pilot was used to create initial syntax highlighting which afterward it was adapted to truly reflect the individual methods and classes.