Application error loop when trying to open Editor - "XML error -- 'Illegal name character'"

Game Version: v.100.17.31993.0 (490745R)

  • Build Number: 15815388
  • Platform: Steam
  • Operating System: Windows 10

Issue: Opening the Editor is now giving the following application error:

Trigger Event:

Issue first started when I created a scenario and saved it titled “Buildings & Units”. That was when the application error first appeared after a freeze for a couple of seconds. As you can see in the error message box in the screenshot, the issue lies with "XML error – ‘Illegal name character.’

Repro Steps:

  1. Every single attempt to open the Editor reproduces the application error since the first issue.
  2. The game client freezes for around the same couple of seconds’ time as the first application error produced.
  3. There is no opening of the Editor past the Main Menu before the application error appears.

Some more information:

I’m assuming the “illegal name character” that has caused the error is the “&” symbol in the scenario title I saved.

Fixes I have since attempted, to no success:

  1. Retraced my steps in the file directory to the “//scenario” folder, and deleted the “Buildings & Units.mythscn” file.
  2. Deleted ALL files in the “//scenario” folder. (Note: the end result is the same after steps 1 and 2: I can delete the files all I want, but when I reopen the game client, the files just repopulate in the folder.)
  3. Verified integrity of game files. No success.
  4. Complete uninstall and reinstall of the game. No success.

UPDATE: I fixed the issue on my own, with some help from some friends of mine on Discord.

I opened the “~recent.xml” file from my scenario folder and deleted the line that had “Buildings & Units” in it (after all, the ampersand was the ‘illegal character’) and now the Editor is opening as normal.