• Current Version: 1.3: 2023-02-07T09:29:31Z
  • First Published: 2021-04-30T13:26:11Z
  • Size: 1058240
  • Supported Unity Versions: 2019.4.3
tools network

SmoothMQTT

(4 Votes)
$54.88 $54.88

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)


Add to cart
This site contains affiliate links, which means that we can receive a commission if you click on a link and buy something that we have recommended.
Although clicking on these links will not cost you anything, they will help us finance our development projects while recommending good products!