Scenery Editor: only the first <Tag> from ModelInfo XML is listed in the Objects window – second and subsequent tags are ignored

Version: SU 5.1 - 1.7.35.0 (SDK 1.6.9)

Frequency: Consistently

Severity: Low

Context: Custom airport scenery project opened in DevMode (Project Editor + Scenery Editor). ModelLib package built with no errors. Issue observed in the Scenery Editor “Objects” window, “Tags” panel, with the package selected in the “Packages” list.

Bug description:

When a ModelLib model’s ModelInfo XML contains more than one <Tag> element inside <Tags>, the Scenery Editor only picks up the FIRST tag. The second and any subsequent tags never appear in the “Tags” filter list and cannot be used for filtering. Models with exactly one tag work correctly.

I verified that the data is compiled correctly: inspecting the built modellib BGL with a hex viewer shows the embedded ModelInfo contains ALL tags, e.g.:

</LODS><Tags><Tag>props</Tag><Tag>construction</Tag></Tags></ModelInfo>

Tag string occurrence counts in the BGL exactly match the number of tagged source files (366x “props”, 111x “construction”), so the package build is fine — the editor side appears to index only the first <Tag> per model. A full sim restart after the build does not change the behaviour.

This makes multi-tag categorisation (e.g. a generic tag + a specific tag per model, as implied by the SDK docs: “contains one or more <Tag /> sub-elements”) impossible.

Repro steps:

  1. In a scenery project, add two or more <Tag> elements to several ModelLib models:
<?xml version="1.0" encoding="utf-8"?>
<ModelInfo version="1.1" guid="{e85855f1-09c9-4c8d-87e9-cc3e8e9789c1}">
	<LODS>
		<LOD minSize="25" ModelFile="Barracks_07_LOD0.gltf" />
		<LOD minSize="5" ModelFile="Barracks_07_LOD1.gltf" />
		<LOD minSize="1" ModelFile="Barracks_07_LOD2.gltf" />
	</LODS>
	<Tags>
		<Tag>props</Tag>
		<Tag>Barracks</Tag>
	</Tags>
</ModelInfo>
  1. Build the package (fspackagetool / Project Editor — build completes with no errors or warnings).
  2. Open DevMode → Scenery Editor → Objects window, select the package in the “Packages” panel.
  3. Look at the “Tags” panel.

Expected: all tags are listed (“props”, “Barracks”, …) and usable as filters.
Actual: only the first tag of each model is listed (“props”); “Barracks” is missing.

Attachments:

Screenshot 1 — DevMode Model Info panel shows both tags (“props”, “Barracks”) correctly defined on the model.


Screenshot 2 — Objects window with Barracks-tagged models listed, but “Barracks” missing from the “Tags” panel.

1 Like