﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,phab_field
3538,Longrange-pathfinder ignoring new obstructions when moving big units,elexis,,"'''Reproduce:'''
1. Build something
2. Create a big unit (siege or ship)
3. Tell the big unit to move inside the new building (make sure it's a longpath)

By showing the pathfinder overlay in the developer menu, you see that '''the returned longpath has a goal inside the obstruction'''. The unit will follow that longpath and enter the building.

Notice '''if the building existed when the game started, the goal of the longpath will be outside the obstruction and the unit will not enter the building''' (besides #3532)

(Units in formation count as a single big unit (clearance 4) and also get a goal point inside the obstruction. But they disband when hitting the obstruction and don't enter it.)
----

Together with #3532, '''this bug accounts for the ""ship on land""''' thing, which has been reported here http://wildfiregames.com/forum/index.php?showtopic=20083 and happened to me in some games (uploaded in #3513 and #3471). Replaying those games showed that ships always entered the land by moving through the obstructions of docks.

[[Image(http://trac.wildfiregames.com/raw-attachment/ticket/3410/ship.gif, 300px, center)]]
",defect,new,Release Blocker,Alpha 19,Core engine,,pathfinding,,
