Troubleshooting
Why an MQTT Engine UDT instance shows up as a folder
Short answer
Stop MQTT Transmission on the Edge gateway, delete the affected tags and UDT definitions from MQTT Engine, re-enable Transmission and force the refresh; Engine then rebuilds the objects as UDT instances. On the 4.0.10 builds, upgrade both MQTT modules to 4.0.16 afterwards and restart the Ignition service to clear leaked TransmissionClient threads.
On this page
- Why do Edge-published UDT instances show up as folders in MQTT Engine?
- What breaks while the object sits there as a folder?
- Why did deleting the tag and refreshing not fix it?
- How do you fix a UDT instance that MQTT Engine keeps rebuilding as a folder?
- Which MQTT module builds carry the TransmissionClient thread leak?
- Why restart the Ignition service after upgrading from 4.0.10?
- How do you confirm the object is a real UDT instance again?
- What do you do when the folder still comes back?
- Questions asked
A UDT instance published from an Edge gateway can land in MQTT Engine as a plain folder with the right member tags inside it, and every history or alarm edit made on the UDT at the server then misses the object. The fix that cleared this in the reported Ignition 8.1.15 system running the 4.0.10 MQTT modules is short: disable MQTT Transmission on the Edge gateway, delete the affected tags and the UDT definitions from MQTT Engine, re-enable Transmission, and force the refresh. Engine rebuilds the definitions and republished tags as UDT instances instead of folders. Deleting the tag alone and refreshing does not clear the symptom, which is why the definitions have to go as well. Because the 4.0.10 builds also carry a TransmissionClient thread leak, plan the upgrade of both modules to 4.0.16 plus an Ignition service restart right behind the recovery.
Why do Edge-published UDT instances show up as folders in MQTT Engine? #
MQTT Engine converts a published Edge tag structure into a UDT definition plus instances under its edge nodes folder, and in the reported failure the object kept rendering as a plain folder with correct tags inside until the Engine-side definitions were deleted along with the tag.
The delivery path — how published structures become definitions and instances in Engine — is the subject of the article on how Sparkplug UDT definitions reach MQTT Engine. In the reported case the tag had been an instance of an older version of its UDT and was switched to a new definition with a different name and structure, while both versions stayed on the system. Even then, both definitions listed correctly under the UDT Definitions tab of the Tag Browser in MQTT Engine, so the structures had arrived. What had not arrived was a consistent association between the tag and its definition — the exact trigger was never confirmed, but every observation in the case points at that Engine-side state, not at the broker or at the Edge gateway.
What breaks while the object sits there as a folder? #
The member tags keep their values, but the server no longer treats the object as a UDT instance, so history and alarm edits you make on the UDT definition at the server do not reach the members through it.
That makes the fault easy to miss: dashboards and live reads stay normal because the member structure and the current data are present, and the loss only shows up when a trend or an alarm fails to follow a definition change at the server. A consumer that cannot resolve an object's structure identity falls back to drawing a folder with children — the same rendering fallback described for why ControlLogix array tags appear as OPC folders — and that is what the tag browser is showing here.
Why did deleting the tag and refreshing not fix it? #
Deleting only the tag and refreshing rebuilt the object as a folder on every attempt in the reported case; the refresh republishes what Transmission holds, so the Engine-side UDT definitions, the part that decides instance versus folder, survived each round.
Two rounds of delete-tag-plus-refresh produced the same wrong result before the working sequence was tried. The swap itself — a tag moved from an older definition version to a differently named, differently structured one — is the situation the article on reusing Ignition Edge tag structures on a central gateway looks at from the server side. What finally worked was not a third refresh but a clean rebuild: remove the definitions too, with Transmission stopped so nothing lands in the namespace mid-delete.
How do you fix a UDT instance that MQTT Engine keeps rebuilding as a folder? #
Stop MQTT Transmission on the Edge gateway, delete both the affected tags and the UDT definitions from MQTT Engine, re-enable Transmission, and force the refresh — in the reported 8.1.15 system with the 4.0.10 modules, that sequence republished every affected object as a UDT instance.
Run it in a maintenance window: between the first and third steps the server receives no updates for that Edge gateway's tags. The order matters — clear the namespace while nothing is publishing, then let the module rebuild it:
- Disable MQTT Transmission on the Edge installation.
- In MQTT Engine, delete the affected tags and the associated UDT definitions.
- Enable MQTT Transmission again.
- Force the refresh from the MQTT Transmission module so the definitions and tags republish.
Worked example, reported system:
| Component | Version in the reported case |
|---|---|
| Ignition Edge | 8.1.15 |
| MQTT Transmission | 4.0.10 (b2022020721) |
| Ignition Standard | 8.1.15 |
| MQTT Engine | 4.0.10 (b2022020721) |
The affected tag had been moved from an older version of its UDT to a new, differently named and differently structured definition, and two rounds of deleting just the tag had produced a folder both times. After the four steps above, Engine rebuilt the definitions and the tag came back as a UDT instance with its members and values intact. This is a confirmed recovery on one reported configuration, not a proven fix for every possible trigger.
Which MQTT module builds carry the TransmissionClient thread leak? #
The TransmissionClient thread leak is documented against the 4.0.10 builds — MQTT Transmission 4.0.10 (b2022020721) and MQTT Engine 4.0.10 — and the recommendation for that generation is to move both modules to the official 4.0.16 builds.
No specific UDT defect was identified behind the folder behavior; the leak is a separate problem with that build generation that could produce a range of odd module behavior, and a mis-built tag tree is exactly that kind of oddity. Treat the two actions as independent: the four-step republish repairs the objects you can see today, while the upgrade to the current builds removes the condition that can warp module behavior generally on a system still running that generation.
Why restart the Ignition service after upgrading from 4.0.10? #
Because a module install replaces files but does not clear threads the old build already leaked: TransmissionClient threads stuck from 4.0.10 survive the upgrade in memory, and only a full restart of the Ignition service removes them.
Put the module update and the Ignition service restart in the same maintenance window and treat an upgrade that skipped the restart as incomplete — the leaked threads stay resident and able to cause abnormal behavior until the service cycles.
How do you confirm the object is a real UDT instance again? #
Treat the repair as confirmed only when the object renders as a UDT instance tag, references the intended new definition, carries the expected member structure with current values, and accepts server-side history and alarm edits made on the UDT definition.
Check all four, because the first three can pass while the fourth still fails:
- The object renders as a UDT instance in the server's Tag Browser, not as a folder.
- It references the intended new definition, and the definitions still list under the UDT Definitions tab.
- The member structure matches the new definition and the members report current values.
- A history or alarm edit made on the definition at the server reaches the instance's members.
If any check fails after the republish, run the four-step sequence once more before touching versions — a second clean rebuild is cheaper than an upgrade cycle.
What do you do when the folder still comes back? #
Escalate with evidence once the upgraded, restarted system still rebuilds the object as a folder: collect Ignition Gateway logs from the MQTT Engine side and the MQTT Transmission side and hand both sets, the affected tag and the definitions involved to the module vendor's support.
Decide per case:
- Folder on one or a few tags, modules already on the current builds, service restarted: run the four-step republish once; if it holds through the four checks, close the case.
- Any module still on 4.0.10: use the four-step republish for the immediate symptom and schedule the upgrade of both modules to 4.0.16 with the Ignition service restart at the next maintenance window.
- Folder rebuilds even after the upgrade, the restart and a clean republish: stop iterating, capture the Gateway logs from both sides and escalate.
The published evidence for this symptom stops there: the reported case was cleared procedurally, no root cause was confirmed behind it, and the vendor asked for exactly those logs on any residual case.
Questions asked
Does deleting the UDT definitions in MQTT Engine touch the Edge gateway?
No. The deletion runs on the server side only; the definitions that live on the Edge gateway are untouched, and MQTT Transmission republishes them from there once it is re-enabled and the refresh runs.
How do you check whether your own gateways are on the 4.0.10 builds?
Each Ignition gateway lists its installed modules with their version and build numbers. Check the Edge gateway for MQTT Transmission and the server for MQTT Engine, and compare both against 4.0.10 (b2022020721) to see whether the leak generation is installed.
Does this recovery involve the MQTT broker at any point?
No. The procedure runs entirely between the Edge gateway, which stops and later restarts its publishing, and MQTT Engine, which drops and then re-receives the definitions and tags; the broker only forwards what Transmission publishes.