**Game Version number: ** 1.2.0.23
**Modded?:** (Yes/No) No
**Issue Description: **
Seems that BaseRoad objects that could be returned from RoadNetworkManager.GetRoadsInAABB() call could return a lot of broken vectors (GetPoints() method of BaseRoad class) and encountering such error throws game engine validation error as soon as they appear in the script code.
Example code (coordinates are Arland main city):
```
private void TestRoads()
{
SCR_AIWorld aiWorld = SCR_AIWorld.Cast(GetGame().GetAIWorld());
if (!aiWorld)
return;
RoadNetworkManager roadNetworkManager = aiWorld.GetRoadNetworkManager();
if (!roadNetworkManager)
return;
//arland beauwhatever city
vector position = {3165.111, 11.576, 2798.563};
vector minAABB = m_Location.GetOrigin() - { ROAD_SEARCH_RADIUS, 0, ROAD_SEARCH_RADIUS };
vector maxAABB = m_Location.GetOrigin() + { ROAD_SEARCH_RADIUS, 1000, ROAD_SEARCH_RADIUS };
array<BaseRoad> roads = {};
roadNetworkManager.GetRoadsInAABB(minAABB, maxAABB, roads);
for (int i = 0; i < roads.Count(); i++)
{
BaseRoad road = roads[i];
array<vector> points = {};
road.GetPoints(points);
for (int j = points.Count() - 1; j >= 0; j--)
{
ESCT_Logger.InfoFormat("Vector: %1", points[j].ToString());
}
}
}
```
Log:
```log
...
Vector: <-nan, 0.000000, 0.000000>
Vector: <-nan, 0.000000, 0.000000>
Vector: <0.000000, -nan, 0.000000>
Vector: <-nan, 0.000000, 0.000000>
Vector: <-nan, 0.000000, 0.000000>
Vector: <-nan, 0.000000, 0.000000>
Vector: <-nan, 0.000000, -nan>
Vector: <-nan, 0.000000, -nan>
Vector: <0.000000, -nan, 0.000000>
Vector: <-nan, 0.000000, 0.000000>
Vector: <0.000000, 0.000000, -nan>
Vector: <0.000000, -nan, 0.000000>
Vector: <-nan, 0.000000, -nan>
Vector: <-nan, 0.000000, -nan>
Vector: <0.000000, -nan, 0.000000>
Vector: <-nan, 0.000000, 0.000000>
Vector: <0.000000, -nan, 0.000000>
```
{F4009428}