Publisher Simon Schliesky Softwarelösungen
File size 1.01MB
Number of files 84
Latest version 1
Latest release date 2023-02-07 09:29:31
First release date 2021-04-30 01:26:11
Supported Unity versions 2018.4.2 or higher

Why bother coding, when connecting hardware can be click and play? SmoothMQTT will give you the power to connect external hardware like LEDs, sensors, motors, etc. with your Unity app or game, without the entry-barrier of programming. All components provided in this package will allow you to easily access Unity functions in response to messages from other apps or hardware appliances.


MQTT is a message protocol that allows you to publish values to a topic that any client can subscribe and react to. Imagine a sensor in your living room publishes its current temperature measurement to MQTT and your game changes the light intensity or color in your scene.


This asset provides you with components which make it easy to run and/or use MQTT infrastructure within your game or app. All components included are designed to resemble your regular workflow, no matter if it's inspector-based or code-based development. Subscribing to a topic is as easy as

  1. adding a component
  2. configuring the topic
  3. selecting an action to be triggered

Just like you are used to from UI buttons and EventTriggers in Unity.


If you're not convinced yet, check out the manual completely for free under https://smoothmqtt.schliesky.com/


This package supports:

  • mqtt:// and mqtts:// protocols
  • Unity MQTT clients
  • Unity MQTT broker
  • Configurable IP, port, and user credentials
  • Message publishing
  • Message subscription
  • Primitive data types in messages (int, float, bool, string)
  • Unity types in messages (Vector3, Quaternion, Color)
  • Conditional subscriptions (i.e. compare message to string and do A or B)
  • Publishing messages from a TMP_InputField
  • Publishing trigger and collision events
  • Setting up user/password if Unity app is the broker
  • Conditional subscribers (>, >=, <, <=, !=, ==, in interval, outside interval) for float messages
  • JSON payload handling

This package does NOT support:

  • Websockets

Supported Platforms

  • Windows Standalone tested and works
  • OS X Standalone tested and works
  • Linux Standalone tested and works
  • Android (experimental, tested with API level 29)
  • iOS (unknown)
  • WebGL (not supported)
  • UWP (not supported)
  • Other platforms (unknown)

Third Party Licenses


Asset uses MQTTnet.dll under MIT license; see ThirdPartyNotices.txt file in package for details.



Current Roadmap:

  • Settings functions and UI dialog prefab to change mqtt server and credentials and stuff
  • PlayerPrefs integration for settings
  • Add Formatstring option to subscriber (partially available through JSON Subscriber)

Top Publisher Assets