Page MenuHomeFeedback Tracker

AI can get stuck in animation loop after giving first aid
New, WishlistPublic

Description

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.

Details

Legacy ID
1307641623
Severity
None
Resolution
Open
Reproducibility
Random
Operating System
Windows 7
Category
Health System
Steps To Reproduce

It's doesn't happen every time, but it happens more than 50%:

  1. In mission editor, load attached repro mission "17931_endless_healing.Stratis.zip".
  2. 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.
  3. Preview mission.
  4. Go prone.
  5. Order the medic (unit 3) to heal the player.
  6. Before the medic arrives at the player, order unit 2 to heal the player.
  7. As unit 2 tries to heal the player, turn so they are directly in front of you.
  8. Observer unit 2 provide first aid to the player multiple times, and gets stuck to player.
Additional Information

The player can cause the AI to break out of this loop by giving them another order, such as stop or move.

Event Timeline

ceeeb edited Steps To Reproduce. (Show Details)Mar 18 2014, 3:32 AM
ceeeb edited Additional Information. (Show Details)
ceeeb set Category to Health System.
ceeeb set Reproducibility to Random.
ceeeb set Severity to None.
ceeeb set Resolution to Open.
ceeeb set Legacy ID to 1307641623.May 7 2016, 6:12 PM
ceeeb added a comment.Mar 18 2014, 3:51 AM

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).

  1. In mission editor, load attached repro mission "17931_endless_healing.Stratis.zip".
  2. 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.
  3. Preview mission.
  4. Order the medic (unit 3) to heal the player.
  5. Before the medic arrives at the player, order unit 2 to heal the player.
  6. 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)

Duplicate of #17015 (but that report features no description, repro or notes)

ceeeb added a comment.Mar 20 2014, 1:30 PM

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%:

  1. In mission editor, load attached repro mission "17931_endless_healing.Stratis.zip".
  2. 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.
  3. Preview mission.
  4. Go prone.
  5. Order the medic (unit 3) to heal the player.
  6. Before the medic arrives at the player, order unit 2 to heal the player.
  7. As unit 2 tries to heal the player, turn so they are directly in front of you.
  8. Observer unit 2 provide first aid to the play multiple times, and gets stuck to player.
ceeeb added a comment.Dec 5 2015, 2:08 AM

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).

Issue persists in dev build 1.63.137954

ceeeb updated the task description. (Show Details)Aug 17 2016, 12:57 AM
ceeeb edited Steps To Reproduce. (Show Details)
ceeeb edited Additional Information. (Show Details)
ceeeb set Operating System to Windows 7.