Windows error when playing with custom datamod and vanilla AI

:play_button: GAME INFORMATION

:backhand_index_pointing_down: These details are CRITICAL; DO NOT skip them or your issue may not be reviewed.

  • GAME BUILD #: latest build
  • GAME PLATFORM: Steam / Microsoft Store / Xbox
  • OPERATING SYSTEM: Windows 11 / Windows 10 / Windows 8 (all OS)

:play_button: ISSUE EXPERIENCED

:backhand_index_pointing_down: DESCRIBE THE ISSUE IN DETAIL (below). LIMIT TO ONE BUG PER THREAD.

getting error, see screenshot. updated with latest visual studio c++ has no effect

:play_button: FREQUENCY OF ISSUE

:backhand_index_pointing_down: How often does the issue occur? CHOSE ONE; DELETE THE REST!

  • 100% of the time / matches I play (ALWAYS)

:play_button: REPRODUCTION STEPS

:backhand_index_pointing_down: List CLEAR and DETAILED STEPS we can take to reproduce the issue ourselves… Be descriptive!

Here’s the steps to reproduce the issue:

  1. create a game (skirmish or multiplayer lobby)
  2. use vanilla AI, but with custom datamod that edits some base units
  3. let the AI run simulation and it’ll eventually crash
  4. (better yet, use custom AI that make use of of custom units)

:play_button: EXPECTED RESULT

:backhand_index_pointing_down: What was SUPPOSED to happen if the bug you encountered were not present?

not crash

:play_button: IMAGE

:backhand_index_pointing_down: ALWAYS attach a PICTURE (.jpg, .png, .gif) or VIDEO (.mp4, YouTube link) that highlights the problem.

update, some extra findings

it seems to do with units with aura task 155 causing this issue (strangely enough it doesn’t affect any base game’s own units, but custom units with the task can somehow have this problem.)

after training them can potentially have the above error message

So, this assertion error happens when defining an aura task for a non-existent unit. Removing the aura task from the unit definition should fix this.