Opened 9 years ago
Last modified 6 years ago
#3239 closed defect
Formations - memberPositions[entity] is undefined when calling GetFormationAnimation for entity switching into idle state — at Initial Version
Reported by: | elexis | Owned by: | |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 23 |
Component: | UI & Simulation | Keywords: | |
Cc: | Patch: |
Description
On an a18 match, the following error appeared:
First this warning on turn 7742
WARNING: JavaScript warning: simulation/components/Formation.js line 219 reference to undefined property this.memberPositions[entity]
with the following error on the same turn, every turn in 7742-7754 (except 7752 and 7753) and on turn 11854:
ERROR: JavaScript error: simulation/components/Formation.js line 219 TypeError: this.memberPositions[entity] is undefined Formation.prototype.GetFormationAnimation@simulation/components/Formation.js:219:6 UnitAI.prototype.UnitFsmSpec.INDIVIDUAL.IDLE.enter@simulation/components/UnitAI.js:1405:7 FSM.prototype.SwitchToNextState@simulation/helpers/FSM.js:376:1 FSM.prototype.ProcessMessage@simulation/helpers/FSM.js:284:4 UnitAI.prototype.OnMotionChanged@simulation/components/UnitAI.js:3803:63 ERROR: Script message handler OnMotionChanged failed
The other warnings and errors are known: On turn 615: #3187 On turn 12594: #3149
The error is reproducible by replaying the attached commands.txt
Note:
See TracTickets
for help on using tickets.