WB maps assertion failed with mods using more than 256 unit or building types

Gedemon

Modder
Super Moderator
Joined
Oct 4, 2004
Messages
11,579
Location
France
When trying to load a map made using the WorldBuilder, and with a mod using more than 256 unit or building's types (ID > 255 in the database), there is an assertion failed message, see screenshot in spoiler:

Spoiler :


The assertion failed happens whether the map was made with the mod activated or not in WB.

It can be ignored (if you've the courage to click more than 600 times on "ignore". And yes, I've tested it. Multiple times. :D) and the game will runs, you can save, and when reloading you won't get the assertion failed message.

Using scripted maps does not trigger the assertion error.
 
Top Bottom