Array index is out of range

Started by Neronic, February 21, 2018, 06:09:51 AM

Previous topic - Next topic

Neronic

For a while now I've gotten a grey screen in game when I've played on a save for a few days, it randomly pops up, stays and I can't remove it. When I start the save in dev mode, I get the message "Array Index is out of range" with the logs:

Array index is out of range.
  at Verse.GlowFlooder.InitStatusesAndPushStartNode (System.Int32& curIndex, IntVec3 start) [0x00000] in <filename unknown>:0
  at Verse.GlowFlooder.AddFloodGlowFor (Verse.CompGlower theGlower, UnityEngine.Color32[] glowGrid) [0x00000] in <filename unknown>:0
  at Verse.GlowGrid.RecalculateAllGlow () [0x00000] in <filename unknown>:0
  at Verse.GlowGrid.GlowGridUpdate_First () [0x00000] in <filename unknown>:0
  at Verse.Map.MapUpdate () [0x00000] in <filename unknown>:0
  at Verse.Game.UpdatePlay () [0x00000] in <filename unknown>:0
  at Verse.Root_Play.Update () [0x00000] in <filename unknown>:0

I have literally no idea what any of this means or how to fix it, I've searched it up but I haven't found a solution or a case similar to mine. I have a decent amount of mods in this load order:

Core
Hugslib
JecsTools
EdB Prepare Carefully
Astra Militarum Imperial Guard Core Mod v1.644
Biomes Core
Biomes!
Prisoner Harvesting
Psychology
Humanoid Alien Races 2.0
Adeptus Mechanicus Magos Xenobiologis
Astra Militarum Imperial Guard Factions Mod v1.62
Astra Militarum Imperial Guard Turret Addon Mod v1.3
[B18] The Mantodean insectoid race (test release)
Adeptus Mechanicus: Armoury
RT's Weapon Pack B18
VGP Vegetable Garden
Expanded Prosthetics and Organ Engineering
More Vanilla Turrets [B18]
(KV) RimFridge - B18
More Furniture [B18]
[RF] Basic Bridges [b18]
Repair Workbench
RT Fuse
Fences And Floors
LT-DoorMat
Tilled Soil
Set-Up Camp
Animals Logic
While You're Up
Stack XXL
Stack Merger
Realistic Rooms
Mad Skills
Hand Me That Brick
Efficient Light

Please I need help since I don't want to ruin future saves or the current one, this problem popped up only recently so I thought it was one of the most recent mods I installed but after uninstalling them it doesn't work either. Thanks in advance!

SnowNinja23

I just started getting the same problem with the same error logs. My extensive mod list is as follows:

Core
Miscellaneous 'CORE'
JecsTools
HugsLib
Therapy
RuntimeGC
EbD Prepare Carefully
AC-Smart Speed
RT Fuse
Realistic Rooms
Selling prisoners with no guilt
Where's the gravel? – Grayscale Edition
Tilled Soil
Relations Tab
LT-DoorMat
Misc. Robots
Misc. Robots++
Misc. Training
Work Tab
Expanded Prosthetics and Organ Engineering
More Trade Ships
Set-Up Camp
ED-Embrasures
I Can Fix It!
Hospitality
Efficient Light
Less Rebuff
Cooks Can Refuel
Quarry
Allow Tool
Colony Manger
Medical Tab
Apparello 2
Simple Sidearms
QualityBuilder
Spoons Hair Mod
Misc. MapGenerator
More Vanilla Turrets [B18]
Job Splitter
[RF] Smooth Stone Walls [b18]
[B18] Shield Generator by Frontier Developments
Predator Hunt Alert
Centralized Climate Control
[KV] Rimfridge – B18
Defesnsive Positions
Psychology
Research Tree
Biomes Core
[sd] advanced powergeneration
RedistHeat
[RF] Editable Pawn Titles [b18]
Biomes!
GeneticRim b18
[KV] Trading Spot – B18
More Furniture [B18]
Humanoid Alien Races 2.0
Rim of Madness – Vampires
Rim of Madness – Werewolves
Map Reroll
Sun Tzu Raider Tactics
MiningCo. Spaceship
Call of Cthulu – Industial Age
Call of Cthulu – Factions
Call of Cthulu – Cults
H.P. Lovecraft Storyteller – Remastered
MiningCo. DrillTurret
MiningCo. LaserFence
MiningCo. ForceField
MiningCo. Alert speaker
Grand Rivers
JTReplaceWalls [B18]
Star Wars – The Force
Star Wars – Fully Functional Lightsabers
Star Wars – Factions
Machine gun defense
Wall Light – B18
Less Arbitrary Surgery
Fire Extinguisher [B18]

I searched around and have no idea where to look for this issue. The most I got was someone a few years ago that had another "Array Index out of range" error regarding a missing texture, but other than that nothing about this particular log. We have some of the same mods so maybe its something in those? Hopefully somebody who knows where to look for these things can help out.

Canute

You both use "Efficient Light" and the error got something to do with glowing.
Could you try to disable that mod and check if that remove the error ?

Neronic

Efficient Light only reduces the power consumption from 75 to 25, nothing to do with the actual lights themselves sadly. Disabling it did not work.

Wiseduck5

I had the same problem, the issue was Biomes!

Soggy Noodle

We from Biomes! are adressing the problem
me heathen

Spectre9000

Quote from: Dutchedark on March 19, 2018, 07:43:55 AM
We from Biomes! are adressing the problem

I hate to necro this, but as this was the first successful hit on a google search, and to avoid duplicate posts, I'm going to...

I was wondering what the status of this issue was? I'm still getting it.

Canute

At first you should be sure it is the same error or just a similar.
Try to post an error log, look at point 5a.
https://ludeon.com/forums/index.php?topic=38291.0

Then be sure you have latest version of the mods.


Soggy Noodle

Quote from: Spectre9000 on April 28, 2018, 10:10:56 PM
Quote from: Dutchedark on March 19, 2018, 07:43:55 AM
We from Biomes! are adressing the problem

I hate to necro this, but as this was the first successful hit on a google search, and to avoid duplicate posts, I'm going to...

I was wondering what the status of this issue was? I'm still getting it.

It turned out to be a problem on Ludeon's side of the game, hoping it will get fixed with 1.0
me heathen

Valens

I have the same problem, but it's likely to be caused by Nature's pretty sweet... Here's log. https://git.io/fhqEH
Did anyone find the solution?? :-[