Trying to update mods which resulted in a crash with rootcause:
67.931 Error Chunk.cpp:828: force.getIndex() - 1u < this->activeNeighbourForces.size() was not true
2. What happened?
Corrupt savefile somehow. 1 bug inaccessable somewhere in the middle of nowhere. After getting support from the SE modding community (thanks!!!) its figured out that this bug somehow got here and on top of it when trying to remove it in any way the game crashes with that error. The following things were tried all resulting in a crash with 1 exception, removing the chunk where is results into unable to save due to corrupt data (screenshots)
These all result in crashes:
-> /c game.forces["enemy"].kill_all_units()
-> /c for k,v in pairs(game.surfaces[1].find_entities_filtered{force="enemy"}) do if v.unit_number == 9573017 then game.player.teleport(v.position) end end
then throw a handgrenade -> crash
->/c for k,v in pairs(game.surfaces[1].find_entities_filtered{force="enemy"}) do if v.unit_number == 9573017 then v.health = 1 v.damage(100, "player") end end
->/c for k,v in pairs(game.surfaces[1].find_entities_filtered{force="enemy"}) do if v.unit_number == 9573017 then v.teleport(game.player.position)
3. What did you expect to happen?
I would like to have entity 9573017 to be removed or perhaps ported to its family originated -1855, 1543.45703125....from... The poor one is all alone out there being an annoying bug (in multiple ways) I cant do it myself... the game crashes

/c for k,v in pairs(game.surfaces[1].find_entities_filtered{force="enemy"}) do if v.unit_number == 9573017 then v.teleport({-1855, 1543.45703125}) end end
It wont allow me to attach the save file it stops uploading after a while so i put it in google drive:
https://drive.google.com/file/d/1j8tTGc ... sp=sharing
4. Does it happen always, once, or sometimes?
Ive never seen this before in all the thousands of hours ive played this game
5. How can the issue be reproduced?
I have no clue... how does a save get corrupt? Problem is... I do make a new save like _1 _2 after a while or an mod update... i didnt update my mods a while though now and that bug sneaked in becoming a lot of savegames ago... going wayyy back... i discovered it while trying to adress some UPS issues updating mods (another post) but i cant then it crashes on that bug somewhere out in the void...