Simulation error: Array index is out of range.
at AircraftAI.CalculateSegmentPosition (UInt16 vehicleID, .Vehicle& vehicleData, Position nextPosition, Position position, UInt32 laneID, Byte offset, Position prevPos, UInt32 prevLaneID, Byte prevOffset, Int32 index, UnityEngine.Vector3& pos, UnityEngine.Vector3& dir, System.Single& maxSpeed) [0x00000] in <filename unknown>:0
at TrafficManager.Custom.AI.CustomVehicleAI.CustomUpdatePathTargetPositions (UInt16 vehicleId, .Vehicle& vehicleData, Vector3 refPos, System.Int32& targetPosIndex, Int32 maxTargetPosIndex, Single minSqrDistanceA, Single minSqrDistanceB) [0x00000] in <filename unknown>:0
at AircraftAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, .Frame& frameData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in <filename unknown>:0
at PassengerPlaneAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, .Frame& frameData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in <filename unknown>:0
at VehicleAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in <filename unknown>:0
at AircraftAI.SimulationStep (UInt16 vehicleID, .Vehicle& data, Vector3 physicsLodRefPos) [0x00000] in <filename unknown>:0
at VehicleManager.SimulationStepImpl (Int32 subStep) [0x00000] in <filename unknown>:0
at SimulationManagerBase`2[Manager,Properties].SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0
at VehicleManager.ISimulationManager.SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0
at SimulationManager.SimulationStep () [0x00000] in <filename unknown>:0
at SimulationManager.SimulationThread () [0x00000] in <filename unknown>:0 [Core]
at AircraftAI.CalculateSegmentPosition (UInt16 vehicleID, .Vehicle& vehicleData, Position nextPosition, Position position, UInt32 laneID, Byte offset, Position prevPos, UInt32 prevLaneID, Byte prevOffset, Int32 index, UnityEngine.Vector3& pos, UnityEngine.Vector3& dir, System.Single& maxSpeed) [0x00000] in <filename unknown>:0
at TrafficManager.Custom.AI.CustomVehicleAI.CustomUpdatePathTargetPositions (UInt16 vehicleId, .Vehicle& vehicleData, Vector3 refPos, System.Int32& targetPosIndex, Int32 maxTargetPosIndex, Single minSqrDistanceA, Single minSqrDistanceB) [0x00000] in <filename unknown>:0
at AircraftAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, .Frame& frameData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in <filename unknown>:0
at PassengerPlaneAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, .Frame& frameData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in <filename unknown>:0
at VehicleAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in <filename unknown>:0
at AircraftAI.SimulationStep (UInt16 vehicleID, .Vehicle& data, Vector3 physicsLodRefPos) [0x00000] in <filename unknown>:0
at VehicleManager.SimulationStepImpl (Int32 subStep) [0x00000] in <filename unknown>:0
at SimulationManagerBase`2[Manager,Properties].SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0
at VehicleManager.ISimulationManager.SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0
at SimulationManager.SimulationStep () [0x00000] in <filename unknown>:0
at SimulationManager.SimulationThread () [0x00000] in <filename unknown>:0 [Core]