Skip to content

kyunwang/msgpack4ue

Repository files navigation

msgpack4ue - A simple Msgpack decoding plugin for Unreal Engine

msgpack4ue is a Unreal Engine plugin which enables decoding of msgpack into UE compliant JSON and primitives.

The primary usage of this plugin is to enable consuming msgpack data over MQTT.

| The plugin has been developed and built with Unreal Engine 5.1.1

Features

  • Decoding of msgpack format (TArray<uint8>) into
    • UE Json
    • Top-level array (wrapped in { "array": [...] })
    • Empty/Null (Caught as failed)
    • Primitives (String, Integer, Floats, Booleans)

Supported platforms

Currently tested and confirmed to be working on:

  • Windows x64
  • Mac OS Ventura (Apple Silicon)

Setup

  1. Download the plugin from releases
  2. Unzip and place into your project's Plugin directory
  3. On first time opening, the project will pop-up to compile
  4. Enable the plugin in the Plugins window in the UE Editor
  5. The plugin contains an example blueprint which can be used to test the plugin namely, ACT_BasicDecode

P.S. Clone the repo for an example using the plugin and MQTT in BP ACT_MsgpackWithMQTT_Example

Limitations

  • Input must be TArray<uint8>

Links