Opened 5 years ago

Closed 5 years ago

#5350 closed defect (duplicate)

JS error - entity is undefined

Reported by: cotko Owned by:
Priority: Should Have Milestone:
Component: UI & Simulation Keywords:
Cc: Patch:

Description

Often times when using random type (giant) map to start a new game, I get this error:

Painting temple ground... 0.601s.
Placing lion statues in the central path... 0.001s.
Placing guardian infantry in the central path... 0.001s.
Placing kushite statues in the secondary paths... 0.000s.
Creating ritual place near the wonder... 0.115s.
Placing healers at the ritual place... 0.000s.
Placing statues at the ritual place... 0.000s.
Placing palms at the ritual place... 0.001s.
Painting city paths... 1.034s.
Placing triggerpoints on city paths... 1.923s.
Placing city districts... 44.605s.
Placing front walls... 0.002s.
Placing side and back walls... 0.004s.
Marking walls...ERROR: JavaScript error: maps/random/rmgen/placer/noncentered/EntitiesObstructionPlacer.js line 18
TypeError: entity is undefined
  EntitiesObstructionPlacer.prototype.place@maps/random/rmgen/placer/noncentered/EntitiesObstructionPlacer.js:18:7
  createArea@maps/random/rmgen/library.js:205:15
  @maps/random/jebel_barkal.js:921:1

It's always the same one, it also seems that it happens just after marking walls.

Change History (1)

comment:1 by elexis, 5 years ago

Milestone: Backlog
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.