aliens

Author Topic: [Solved] Crash: A fatal error has occurred: vector::_M_range_check  (Read 1681 times)

Offline vvx

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Hello,
I have encountered a crash with OXCE and ReaverXcom Harmony v1.0.7.
The crash happens in the geoscape. All I have to do is pass the time.
Included save to reproduce. Just wait a few days.
The logs are not very helpful, but I've included them as well. Not sure if the errors in the logs are related to the crash if I somehow installed the mods wrong.

Can anyone take a look at this?
Thank you!
« Last Edit: March 25, 2023, 05:47:24 pm by Meridian »

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9098
    • View Profile
Re: Crash: A fatal error has occurred: vector::_M_range_check
« Reply #1 on: December 05, 2022, 12:49:16 am »
I don't think CMP is compatible with Reaver's Harmony... or with anything else for that matter.

Anyhow, the crash is on the STR_ALIEN_TERROR mission.

Mission from your save:
Code: [Select]
alienMissions:
  - type: STR_ALIEN_TERROR
    region: STR_ANTARCTICA
    race: STR_SECTOID
    nextWave: 2
    nextUfoCounter: 0
    spawnCountdown: 4290
    liveUfos: 0
    uniqueID: 1
    missionSiteZone: 5

The game is trying to access the 6th area (missionSiteZone: 5) in the 4th mission zone (spawnZone: 3) of STR_ANTARCTICA region... but there are only two areas there... so it crashes.

Why it decided to access the 6th, I don't know... could be mod incompatibility or could be your save is corrupted (potentially by enabling mods mid-campaign).
Or could be something else, hard to say.
« Last Edit: December 05, 2022, 12:52:24 am by Meridian »

Offline vvx

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Re: Crash: A fatal error has occurred: vector::_M_range_check
« Reply #2 on: December 05, 2022, 12:54:39 am »
I tried searching around for if the 2 mods are compatible but couldn't find anything concrete. This is the clearest proof.
For what it's worth: I didn't activate the mods mid-campaign, it's all from the start.
Thanks for taking a look!