Observed:
An AI soldier can become stuck in an endlessly repeating "setPos to player" (healing units tend to snap to the healed unit at the start of the healing animation) and standing to crouch transition animation loop.
It is not a frequent problem, but I have seen it twice.
Description
Details
- Legacy ID
- 1307641623
- Severity
- None
- Resolution
- Open
- Reproducibility
- Random
- Operating System
- Windows 7
- Category
- Health System
It's doesn't happen every time, but it happens more than 50%:
- In mission editor, load attached repro mission "17931_endless_healing.Stratis.zip".
- Note player is group leader, is injured and has two AI under his command, one of whom is a medic who is far away from the player.
- Preview mission.
- Go prone.
- Order the medic (unit 3) to heal the player.
- Before the medic arrives at the player, order unit 2 to heal the player.
- As unit 2 tries to heal the player, turn so they are directly in front of you.
- Observer unit 2 provide first aid to the player multiple times, and gets stuck to player.
The player can cause the AI to break out of this loop by giving them another order, such as stop or move.
Event Timeline
I have worked out a repro that produces a "lighter" version of this bug. It features multiple move to and play healing animation (each repetition takes several seconds) rather than endless snap to and crouch animation (which loops about 5-10 times each second).
- In mission editor, load attached repro mission "17931_endless_healing.Stratis.zip".
- Note player is group leader, is injured and has two AI under his command, one of whom is a medic who is far away from the player.
- Preview mission.
- Order the medic (unit 3) to heal the player.
- Before the medic arrives at the player, order unit 2 to heal the player.
- Observer unit 2 provide first aid to the play multiple times.
Here is a video featuring a variation of the bug:
http://www.youtube.com/watch?v=d_a60hBVVzU (only need to watch the first 30 secs)
Okay, here is the repro for the "full" version of the bug (as seen in the video) . It's doesn't happen every time, but it happens more than 50%:
- In mission editor, load attached repro mission "17931_endless_healing.Stratis.zip".
- Note player is group leader, is injured and has two AI under his command, one of whom is a medic who is far away from the player.
- Preview mission.
- Go prone.
- Order the medic (unit 3) to heal the player.
- Before the medic arrives at the player, order unit 2 to heal the player.
- As unit 2 tries to heal the player, turn so they are directly in front of you.
- Observer unit 2 provide first aid to the play multiple times, and gets stuck to player.
This issue still exists in 1.54.
Following the repro steps above results in AI unit 2 endlessly walking to and attempting to heal the player (even though the first heal attempt is successful).