[1.09] Game crashes when trying to train new units directly after game start

Edit: See reply.

I'm running into a problem with making a mod. The mod specifically adds new UnitQualityTypes.

The new types are dependant on new technology. Everything works, the first time around I play a game. There are no glitches for either core races or the new race.

However, if I start a new game, without restarting the elemtal.exe client, the game will crash when I try to train a unit.

 

1,215 views 4 replies
Reply #1 Top

Sorry, the problem seems unrelated to the mod. I removed all mods. The crash still happens.

 

To reproduce

1. Open game.

2. Start new game as Relias with a faction.

3. Build a town. Immediately open the train unit menu.

4. Start a new game without restarting client.

5. Choose another sovereign with any faction.

6. Build a town. Immediately open the train unit menu.

7. Crashed.

 

 

Reply #2 Top

The last entries from debug.err

Debug Message:  ERROR: (CD3D9Renderer) Unable to create mesh during ::CreateTextMesh.
Debug Message:  ERROR: (CDrawManager) Failed to create text mesh in ::Reload3DFont.
Debug Message:  ERROR: (CMapTextGraphic) Failed to create 3D font wrapper for CMapTextGraphic 'Awibego'.

Reply #3 Top

Please post the whole debug.err just in case there is any other useful info, as well as the memory dump if there was one.