Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array Index out of range (PassengerFerryAI, PassengerFerryAIDetour) #2

Open
cptalpdeniz opened this issue Jun 16, 2017 · 1 comment

Comments

@cptalpdeniz
Copy link

cptalpdeniz commented Jun 16, 2017

After some time (approximately 2-3 minutes after loading the city) I constantly receive the Array Index out of range error which comes one after time. Exact error that is written in output log is:

Simulation error: Array index is out of range.
at PassengerFerryAI.UnloadPassengers (UInt16 vehicleID, .Vehicle& data, UInt16 currentStop, UInt16 nextStop) [0x00000] in :0
at ImprovedPublicTransport2.Detour.PassengerFerryAIDetour.ArriveAtTarget (UInt16 vehicleID, .Vehicle& data) [0x00000] in :0
at PassengerFerryAI.ArriveAtDestination (UInt16 vehicleID, .Vehicle& vehicleData) [0x00000] in :0
at FerryAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, .Frame& frameData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in :0
at PassengerFerryAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, .Frame& frameData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in :0
at VehicleAI.SimulationStep (UInt16 vehicleID, .Vehicle& vehicleData, UInt16 leaderID, .Vehicle& leaderData, Int32 lodPhysics) [0x00000] in :0
at FerryAI.SimulationStep (UInt16 vehicleID, .Vehicle& data, Vector3 physicsLodRefPos) [0x00000] in :0
at VehicleManager.SimulationStepImpl (Int32 subStep) [0x00000] in :0
at SimulationManagerBase`2[Manager,Properties].SimulationStep (Int32 subStep) [0x00000] in :0
at VehicleManager.ISimulationManager.SimulationStep (Int32 subStep) [0x00000] in :0
at SimulationManager.SimulationStep () [0x00000] in :0
at SimulationManager.SimulationThread () [0x00000] in :0 [Core]

You may see the whole Output_log here:
output_log.txt
and here,
output_log.txt

@cptalpdeniz
Copy link
Author

This was first posted to Skylines Nation group in Facebook and we discussed some workarounds (which none of them worked) there. Link to post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant