I'm creating a custom scenario about the Siege of Tobruk in April 1941.
The scenario opens normally in the Scenario Editor, but when I try to play it, the loading bar stops at the same position and never progresses. The game remains responsive.
I suspect the problem may be related to the Chinese Wall decorations I used.
While editing the map, I noticed that these decorations sometimes behaved incorrectly:
Wall segments did not always connect properly.
Some walls appeared to overlap on the same hex.
Right-clicking sometimes failed to remove a wall.
Attempting to remove or reconnect walls sometimes created unexpected connections in neighboring hexes.
In a different scenario I tested it, and it worked correctly.
Errors in Player.log:
Failed to find decoration: Objects/chinese_wall_-4
IndexOutOfRangeException:
Index was outside the bounds of the array.
at TerrainTypeData.PutHexTextureData(...)
at Map3DGenerator.BuildTerrain(...)
Is there a way to identify and repair the problematic decorations or terrain data without rebuilding the entire map? Is the problem really the Chinese W[/code]all?
[Editor Bug][Chinese Wall decorations and scenario loading freeze][New]
Moderators: Order of Battle Moderators, The Artistocrats
-
terminator
- Field Marshal - Gustav

- Posts: 6196
- Joined: Mon Aug 15, 2011 12:48 pm
- Location: the land of freedom
Re: [Editor Bug][Chinese Wall decorations and scenario loading freeze][New]
Impossible to load the scenario for testing...
-
GabeKnight
- General - King Tiger

- Posts: 3751
- Joined: Mon Nov 27, 2017 10:24 pm
Re: [Editor Bug][Chinese Wall decorations and scenario loading freeze][New]
Yeah I think it was. At least it loads now.yoyol379 wrote: Sat Nov 14, 2026 7:09 pm Is there a way to identify and repair the problematic decorations or terrain data without rebuilding the entire map? Is the problem really the Chinese Wall?
- Attachments
-
The Siege of Tobruk2.zip- (1.1 MiB) Downloaded 75 times
Re: [Editor Bug][Chinese Wall decorations and scenario loading freeze][New]
What exactly was the error? I used the Chinese Wall myself in the Kolberg scenario, and everything worked without any problems.

-
GabeKnight
- General - King Tiger

- Posts: 3751
- Joined: Mon Nov 27, 2017 10:24 pm
Re: [Editor Bug][Chinese Wall decorations and scenario loading freeze][New]
I'm not sure. One of the chinese wall decorations looked weird to me in the editor (like an "X" shape) so I removed them. Then it loaded. Just lucky, I guess.
Re: [Editor Bug][Chinese Wall decorations and scenario loading freeze][New]
When I used the Chinese wall in the editor it acted weird and sometimes wasn't deleted when I tried to delete it. I think this created a problem in the loader, will check if GabeKnight's changes loads it for me, and then I will be able to continue making the scenario. Thank you!
It works, thanks.
It works, thanks.

