Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#5108 closed defect (fixed)

this.order is undefined in UnitAI FindWalkAndFightTargets

Reported by: elexis Owned by: temple
Priority: Must Have Milestone: Alpha 23
Component: UI & Simulation Keywords:
Cc: Patch: Phab:D1425

Description

We got this UnitAI error in an svn match with r21635 (just after Phab:D1419, don't know if it's related.)

ERROR: Error in timer on entity 3483, IID95, function TimerHandler: TypeError: this.order is undefined
  UnitAI.prototype.FindWalkAndFightTargets@simulation/components/UnitAI.js:5450:1
  UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.COMBAT.ATTACKING.Timer@simulation/components/UnitAI.js:1983:8
  FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:274:12
  UnitAI.prototype.TimerHandler@simulation/components/UnitAI.js:3859:2
  Timer.prototype.OnUpdate@simulation/components/Timer.js:120:4

ERROR: Error in timer on entity 3488, IID95, function TimerHandler: TypeError: this.order is undefined
  UnitAI.prototype.FindWalkAndFightTargets@simulation/components/UnitAI.js:5450:1
  UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.COMBAT.ATTACKING.Timer@simulation/components/UnitAI.js:1983:8
  FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:274:12
  UnitAI.prototype.TimerHandler@simulation/components/UnitAI.js:3859:2
  Timer.prototype.OnUpdate@simulation/components/Timer.js:120:4

Attachments (1)

commands.txt (460.2 KB ) - added by elexis 6 years ago.

Download all attachments as: .zip

Change History (5)

by elexis, 6 years ago

Attachment: commands.txt added

comment:1 by elexis, 6 years ago

Milestone: BacklogAlpha 23
Patch: Phab:D1425

comment:2 by elexis, 6 years ago

Priority: Should HaveRelease Blocker

(error spammed every JB match)

comment:3 by temple, 6 years ago

Owner: set to temple
Resolution: fixed
Status: newclosed

In 21655:

Formation members shouldn't use IsWalkingAndFighting

Differential Revision: https://code.wildfiregames.com/D1425
Comments by: mimo, bb
Fixes: #5108

comment:4 by elexis, 6 years ago

Priority: Release BlockerMust Have

Thanks

Note: See TracTickets for help on using tickets.