Cities skylines ошибка array index is out of range

Обновлено: 03.07.2024

Please explain your issue is in as much detail as possible.
so i was playing this map and switched map themes twice from normal to ryebluffs map theme and from ryebluffs map theme to realistic v1.5.5 temperate. after this i got the array index is out of range error. and now some roads are buggy and surface painter isn't working properly.
Execution error: Array index is out of range.
at TerrainModify.ApplyQuad (Quad2 quad, Edges edges, Surface surface) [0x00000] in <filename unknown>:0
at TerrainModify.ApplyQuad (Vector3 a, Vector3 b, Vector3 c, Vector3 d, Edges edges, Heights heights, Surface surface) [0x00000] in <filename unknown>:0
at Building.TerrainUpdated (.BuildingInfo info, UInt16 buildingID, Vector3 position, Single angle, Int32 width, Int32 length, Single minX, Single minZ, Single maxX, Single maxZ, Boolean collapsed) [0x00000] in <filename unknown>:0
at Building.TerrainUpdated (UInt16 buildingID, Single minX, Single minZ, Single maxX, Single maxZ) [0x00000] in <filename unknown>:0
at BuildingManager.TerrainUpdated (.TerrainArea heightArea, .TerrainArea surfaceArea, .TerrainArea zoneArea) [0x00000] in <filename unknown>:0
at TerrainManager.Managers_TerrainUpdated (.TerrainArea heightArea, .TerrainArea surfaceArea, .TerrainArea zoneArea) [0x00000] in <filename unknown>:0
at TerrainModify.UpdateAreaImplementation () [0x00000] in <filename unknown>:0
at TerrainModify.UpdateArea (Int32 minX, Int32 minZ, Int32 maxX, Int32 maxZ, Boolean heights, Boolean surface, Boolean zones) [0x00000] in <filename unknown>:0
at SurfacePainter.SurfaceManager+<>c.<UpdateWholeMap>b__9_0 () [0x00000] in <filename unknown>:0
at AsyncAction.Execute () [0x00000] in <filename unknown>:0 [Core]
this is what is shows now. could somebody help me please??

Can you replicate the issue? If yes, please explain how you did it.


Attachments

Avanya

Asset creator
Are you using mods? And did you restart the game between loads?

Anihilator_mp

Recruit

I have the same error message in game. It occures after many hours of building city. Can't close this message in game. Unfortunately it shows always after opening saved game. I'am using many mods, and have all dlc's.

12 мар. 2015 в 8:50 Array index is out of range. [System.IndexOutOfRangeException]

Array index is out of range. [System.IndexOutOfRangeException]

Details:
No details
System.IndexOutOfRangeException: Array index is out of range.
at Vehicle.GetLastVehicle (UInt16 vehicleID) [0x00000] in <filename unknown>:0
at TrainAI.SimulationStep (UInt16 vehicleID, .Vehicle& data, Vector3 physicsLodRefPos) [0x00000] in <filename unknown>:0
at CargoTrainAI.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

Was working fine last night. did nothing different. no mod or anything.

12 мар. 2015 в 9:21 Looks like a train has been removed from an array mid iteration, probably a missing flag.
12 мар. 2015 в 9:22

Verify the game cache.

12 мар. 2015 в 10:09 I did check the cache and the game still go mad when i load that save game. i started another city and it work fine . any way to fix my other city? 12 мар. 2015 в 10:41 Could be a corrupted save. If so, nothing you can do but delete the same and start anew. 12 мар. 2015 в 18:07 13 мар. 2015 в 3:15
Keep the save (deleting it won't change anything). Maybe they will patch the issue and your save will be valid again. 13 мар. 2015 в 7:02 1 мар. 2016 в 13:45

I have the same problem - also when starting a new game:

Details:
No details
System.IndexOutOfRangeException: Array index is out of range.
at CSL_Traffic.CustomPathFind.CalculatePath (UInt32 unit, Boolean skipQueue, ExtendedVehicleType vehicleType) [0x00000] in <filename unknown>:0
at CSL_Traffic.CustomPathFind.CalculatePath (UInt32 unit, Boolean skipQueue) [0x00000] in <filename unknown>:0
at PathManager.CreatePath (System.UInt32& unit, ColossalFramework.Math.Randomizer& randomizer, UInt32 buildIndex, Position startPosA, Position startPosB, Position endPosA, Position endPosB, Position vehiclePosition, LaneType laneTypes, VehicleType vehicleTypes, Single maxLength, Boolean isHeavyVehicle, Boolean ignoreBlocked, Boolean stablePath, Boolean skipQueue) [0x00000] in <filename unknown>:0
at PathManager.CreatePath (System.UInt32& unit, ColossalFramework.Math.Randomizer& randomizer, UInt32 buildIndex, Position startPosA, Position startPosB, Position endPosA, Position endPosB, LaneType laneTypes, VehicleType vehicleTypes, Single maxLength) [0x00000] in <filename unknown>:0
at AircraftAI.StartPathFind (UInt16 vehicleID, .Vehicle& vehicleData, Vector3 startPos, Vector3 endPos, Boolean startBothWays, Boolean endBothWays) [0x00000] in <filename unknown>:0
at AircraftAI.StartPathFind (UInt16 vehicleID, .Vehicle& vehicleData, Vector3 startPos, Vector3 endPos) [0x00000] in <filename unknown>:0
at PassengerPlaneAI.StartPathFind (UInt16 vehicleID, .Vehicle& vehicleData) [0x00000] in <filename unknown>:0
at PassengerPlaneAI.SetTarget (UInt16 vehicleID, .Vehicle& data, UInt16 targetBuilding) [0x00000] in <filename unknown>:0
at PassengerPlaneAI.StartTransfer (UInt16 vehicleID, .Vehicle& data, TransferReason reason, TransferOffer offer) [0x00000] in <filename unknown>:0
at OutsideConnectionAI.StartConnectionTransfer (UInt16 buildingID, .Building& data, TransferReason material, TransferOffer offer, Int32 touristFactor0, Int32 touristFactor1, Int32 touristFactor2) [0x00000] in <filename unknown>:0
at OutsideConnectionAI.StartTransfer (UInt16 buildingID, .Building& data, TransferReason material, TransferOffer offer) [0x00000] in <filename unknown>:0
at TransferManager.StartTransfer (TransferReason material, TransferOffer offerOut, TransferOffer offerIn) [0x00000] in <filename unknown>:0
at TransferManager.MatchOffers (TransferReason material) [0x00000] in <filename unknown>:0
at TransferManager.SimulationStepImpl (Int32 subStep) [0x00000] in <filename unknown>:0
at SimulationManagerBase`2[Manager,Properties].SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0
at TransferManager.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

Right now I cannot play the game anymore =o(

Thanks for any help.

13 янв. 2017 в 23:36

I have the same problem - also when starting a new game:

Details:
No details
System.IndexOutOfRangeException: Array index is out of range.
at CSL_Traffic.CustomPathFind.CalculatePath (UInt32 unit, Boolean skipQueue, ExtendedVehicleType vehicleType) [0x00000] in <filename unknown>:0
at CSL_Traffic.CustomPathFind.CalculatePath (UInt32 unit, Boolean skipQueue) [0x00000] in <filename unknown>:0
at PathManager.CreatePath (System.UInt32& unit, ColossalFramework.Math.Randomizer& randomizer, UInt32 buildIndex, Position startPosA, Position startPosB, Position endPosA, Position endPosB, Position vehiclePosition, LaneType laneTypes, VehicleType vehicleTypes, Single maxLength, Boolean isHeavyVehicle, Boolean ignoreBlocked, Boolean stablePath, Boolean skipQueue) [0x00000] in <filename unknown>:0
at PathManager.CreatePath (System.UInt32& unit, ColossalFramework.Math.Randomizer& randomizer, UInt32 buildIndex, Position startPosA, Position startPosB, Position endPosA, Position endPosB, LaneType laneTypes, VehicleType vehicleTypes, Single maxLength) [0x00000] in <filename unknown>:0
at AircraftAI.StartPathFind (UInt16 vehicleID, .Vehicle& vehicleData, Vector3 startPos, Vector3 endPos, Boolean startBothWays, Boolean endBothWays) [0x00000] in <filename unknown>:0
at AircraftAI.StartPathFind (UInt16 vehicleID, .Vehicle& vehicleData, Vector3 startPos, Vector3 endPos) [0x00000] in <filename unknown>:0
at PassengerPlaneAI.StartPathFind (UInt16 vehicleID, .Vehicle& vehicleData) [0x00000] in <filename unknown>:0
at PassengerPlaneAI.SetTarget (UInt16 vehicleID, .Vehicle& data, UInt16 targetBuilding) [0x00000] in <filename unknown>:0
at PassengerPlaneAI.StartTransfer (UInt16 vehicleID, .Vehicle& data, TransferReason reason, TransferOffer offer) [0x00000] in <filename unknown>:0
at OutsideConnectionAI.StartConnectionTransfer (UInt16 buildingID, .Building& data, TransferReason material, TransferOffer offer, Int32 touristFactor0, Int32 touristFactor1, Int32 touristFactor2) [0x00000] in <filename unknown>:0
at OutsideConnectionAI.StartTransfer (UInt16 buildingID, .Building& data, TransferReason material, TransferOffer offer) [0x00000] in <filename unknown>:0
at TransferManager.StartTransfer (TransferReason material, TransferOffer offerOut, TransferOffer offerIn) [0x00000] in <filename unknown>:0
at TransferManager.MatchOffers (TransferReason material) [0x00000] in <filename unknown>:0
at TransferManager.SimulationStepImpl (Int32 subStep) [0x00000] in <filename unknown>:0
at SimulationManagerBase`2[Manager,Properties].SimulationStep (Int32 subStep) [0x00000] in <filename unknown>:0
at TransferManager.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

Right now I cannot play the game anymore =o(

Thanks for any help.

How in the ♥♥♥♥ are you getting that much information? When I get the window all I get is

Array index is out of range. [System.IndexOutOfRangeException]

I got that from clicking copy. How did you get so much info and HOW DO I KNOW which mod to DELETE. This is only happening now that I got Snowfall. I GOT IT TONIGHT and now its suddenly happening. PLEASE HELP!

Please explain your issue is in as much detail as possible.
so i was playing this map and switched map themes twice from normal to ryebluffs map theme and from ryebluffs map theme to realistic v1.5.5 temperate. after this i got the array index is out of range error. and now some roads are buggy and surface painter isn't working properly.
Execution error: Array index is out of range.
at TerrainModify.ApplyQuad (Quad2 quad, Edges edges, Surface surface) [0x00000] in <filename unknown>:0
at TerrainModify.ApplyQuad (Vector3 a, Vector3 b, Vector3 c, Vector3 d, Edges edges, Heights heights, Surface surface) [0x00000] in <filename unknown>:0
at Building.TerrainUpdated (.BuildingInfo info, UInt16 buildingID, Vector3 position, Single angle, Int32 width, Int32 length, Single minX, Single minZ, Single maxX, Single maxZ, Boolean collapsed) [0x00000] in <filename unknown>:0
at Building.TerrainUpdated (UInt16 buildingID, Single minX, Single minZ, Single maxX, Single maxZ) [0x00000] in <filename unknown>:0
at BuildingManager.TerrainUpdated (.TerrainArea heightArea, .TerrainArea surfaceArea, .TerrainArea zoneArea) [0x00000] in <filename unknown>:0
at TerrainManager.Managers_TerrainUpdated (.TerrainArea heightArea, .TerrainArea surfaceArea, .TerrainArea zoneArea) [0x00000] in <filename unknown>:0
at TerrainModify.UpdateAreaImplementation () [0x00000] in <filename unknown>:0
at TerrainModify.UpdateArea (Int32 minX, Int32 minZ, Int32 maxX, Int32 maxZ, Boolean heights, Boolean surface, Boolean zones) [0x00000] in <filename unknown>:0
at SurfacePainter.SurfaceManager+<>c.<UpdateWholeMap>b__9_0 () [0x00000] in <filename unknown>:0
at AsyncAction.Execute () [0x00000] in <filename unknown>:0 [Core]
this is what is shows now. could somebody help me please??

Can you replicate the issue? If yes, please explain how you did it.

Sergio Funtast


Sergio Funtast

Мод не стоит RandomTree поворот в общем рандомный. У меня от него такие проблемы были, в итоге не использую

Геннадий Борисов


Геннадий Борисов ответил Sergio

Дмитрий Морев

Sergio, тоже на него грешил. Random tree rotation. Все вроде работало. Отключил мод, проблема не ушла.

Читайте также: