Very Niche Editor Bug with AI Personality taking over Unit control despite now being Controlled by the Player

:arrow_forward: GAME INFORMATION

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

  • GAME BUILD #: #85614
  • GAME PLATFORM: Steam
  • OPERATING SYSTEM: Windows 10

:arrow_forward: ISSUE EXPERIENCED

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

Issue with Editor and AI Controlled Units on Standard Settings after changing stances during a Pause.
The Units of the Originally AI controlled Player will change stance under very specific conditions when personality is set to standard.

:arrow_forward: FREQUENCY OF ISSUE

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

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

:arrow_forward: REPRODUCTION STEPS

:point_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 New Blank Map in the Editor
  2. Give Blue Player Several Archers
  3. Give Red AI Controlled Player Several Axemen
  4. Start the game
  5. Immediately Pause the Game
  6. Issue your Archers either an Attack Move, Patrol or attack a single enemy Unit
  7. Switch Control over to the AI player with CTRL + Shift + F2
  8. Change the stance from Default (aggressive) to Stand Ground or No Attack Stance
  9. Unpause the game
  10. What will happen next is that on attack from the archers, and despite you now having control over the Red units, the AI will switch from the Stance you currently have selected to a different stance and/or make the units move

This does not happen when the Units are reversed.

:arrow_forward: EXPECTED RESULT

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

This Bug is the result of the AI being able to “take-over” control of the Units despite the Color/Player Ownership switching now to the Human player.

Switching the Personality of Red Color in the Players Tab from Standard to None removes this bug completely, because there is no AI behavior to take over the control.

The expected outcome we would’ve wanted to see happen is that the Units would just stay on the Switched Stance and the AI isn’t capable of “overtaking” control over the units again.

Also: to note here is that the Player controlled Axemen will never switch stances out of a Pause no matter the Personality setting. (I assume this is because the default Player Behavior has no ‘fall-back’ AI behavior which would take over in case of a drop which happens in other games for example)

:arrow_forward: IMAGE

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

:arrow_forward: GAME FILES (SAVE / RECORDING)

:point_down: Attach a SAVE GAME (.aoe2spgame) or GAME RECORDING (.aoe2record) of the match where you encountered the issue. Link it below if using an external file service.