Page 1 of 1

Utility --update-map failure

Posted: Sat Jan 17, 2026 5:20 pm
by Gamma
I want to update the map 'Jungle Gardens' to the latest engine version. I get the following error:

Code: Select all

PS C:\Program Files\OpenRA> .\OpenRA.Utility.exe ra --update-map Jungle_Gardens-1.oramap release-20231010 --apply
RemoveValidRelationsFromCapturable: Remove ValidRelations property from Capturable.
   Updating map... COMPLETE

ExtractResourceStorageFromHarvester: Renames StoresResources to StoresPlayerResources and extracts StoresResources from Harvester.
   Updating map... COMPLETE

ReplacePaletteModifiers: Replace palette modifiers with post-processing shaders.
   Updating map... COMPLETE

RemoveConyardChronoReturnAnimation: Remove Sequence and Body properties from ConyardChronoReturn.
   Updating map... COMPLETE

RemoveEditorSelectionLayerProperties: Remove defunct properties from EditorSelectionLayer.
   Updating map... COMPLETE

AddMarkerLayerOverlay: Add MarkerLayerOverlay.
   Updating map... COMPLETE

AddSupportPowerBlockedCursor: Add SpawnActorPower/GrantExternalConditionPower BlockedCursor.
   Updating map... COMPLETE

MovePreviewFacing: Move map editor preview facing to EditorActorLayer
   Updating map... COMPLETE

RenameOnDeath: Rename Explodes to FireWarheadOnDeath and ThrowsShrapnel to FireProjectilesOnDeath.
   Updating map... COMPLETE

RemoveParentTopParentLeftSubstitutions: Remove PARENT_TOP and PARENT_LEFT from integer expressions for widgets.
   Updating map... COMPLETE

RenameWidgetSubstitutions: Rename *_RIGHT to *_WIDTH and *_BOTTOM to *_HEIGHT in integer expressions for widgets.
   Updating map... COMPLETE

ReplaceCloakPalette: Change default Cloak style from Palette to Alpha.
   Updating map... FAILED

   The automated changes for this rule were not applied because of an error.
   After the issue reported below is resolved you should run the updater
   with SOURCE set to ReplaceCloakPalette to retry these changes

   The exception reported was:
     OpenRA.YamlException: C:\Program Files\OpenRA\Jungle_Gardens-1.oramap:bi-balance-rules.yaml:43: There are no elements with key `DecorationBounds` to remove
        at OpenRA.MiniYaml.ResolveInherits(MiniYaml node, Dictionary`2 tree, ImmutableDictionary`2 inherited)
        at OpenRA.MiniYaml.MergeIntoResolved(MiniYamlNode overrideNode, List`1 existingNodes, HashSet`1 existingNodeKeys, Dictionary`2 tree, ImmutableDictionary`2 inherited)
        at OpenRA.MiniYaml.ResolveInherits(MiniYaml node, Dictionary`2 tree, ImmutableDictionary`2 inherited)
        at OpenRA.MiniYaml.Merge(IEnumerable`1 sources)
        at OpenRA.Mods.Common.UpdateRules.UpdateUtils.LoadMapYaml(IReadOnlyFileSystem fileSystem, IReadOnlyPackage mapPackage, IEnumerable`1 files, MiniYamlBuilder mapNode)
        at OpenRA.Mods.Common.UpdateRules.UpdateUtils.UpdateMap(ModData modData, IReadWritePackage mapPackage, UpdateRule rule, List`1& files, HashSet`1 externalFilenames)
        at OpenRA.Mods.Common.UtilityCommands.UpdateMapCommand.ApplyRules(ModData modData, IReadWritePackage mapPackage, IEnumerable`1 rules)
AbstractDocking: Docking was abstracted from Refinery & Harvester.
   Updating map... FAILED

   The automated changes for this rule were not applied because of an error.
   After the issue reported below is resolved you should run the updater
   with SOURCE set to AbstractDocking to retry these changes

   The exception reported was:
     OpenRA.YamlException: C:\Program Files\OpenRA\Jungle_Gardens-1.oramap:bi-balance-rules.yaml:43: There are no elements with key `DecorationBounds` to remove
        at OpenRA.MiniYaml.ResolveInherits(MiniYaml node, Dictionary`2 tree, ImmutableDictionary`2 inherited)
        at OpenRA.MiniYaml.MergeIntoResolved(MiniYamlNode overrideNode, List`1 existingNodes, HashSet`1 existingNodeKeys, Dictionary`2 tree, ImmutableDictionary`2 inherited)
        at OpenRA.MiniYaml.ResolveInherits(MiniYaml node, Dictionary`2 tree, ImmutableDictionary`2 inherited)
        at OpenRA.MiniYaml.Merge(IEnumerable`1 sources)
        at OpenRA.Mods.Common.UpdateRules.UpdateUtils.LoadMapYaml(IReadOnlyFileSystem fileSystem, IReadOnlyPackage mapPackage, IEnumerable`1 files, MiniYamlBuilder mapNode)
        at OpenRA.Mods.Common.UpdateRules.UpdateUtils.UpdateMap(ModData modData, IReadWritePackage mapPackage, UpdateRule rule, List`1& files, HashSet`1 externalFilenames)
        at OpenRA.Mods.Common.UtilityCommands.UpdateMapCommand.ApplyRules(ModData modData, IReadWritePackage mapPackage, IEnumerable`1 rules)
Semi-automated update complete.
Please review the messages above for any manual actions that must be applied.
Thanks

Re: Utility --update-map failure

Posted: Thu Jan 22, 2026 2:57 pm
by JovialFeline
I have been updating some old maps with BI myself. Try removing any -DecorationBounds lines. They'll be under Selectable or Interactable. You may also have to remove a duplicate DockHost trait when running the updater more than once.