Page 1 of 1

Editor crashing problems

Posted: Wed Feb 16, 2022 6:45 pm
by The Land
I have a problem with a scenario which I've edited, then crashes when I try to run it from the editor.

I get this error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000158

The only thing I can find that might cause this is having an invalid road and river set up, with roads/railroads attempting to run parallel to rivers. But I don't believe that is the case in this scenario. Can anyone help?

Re: Editor crashing problems

Posted: Thu Feb 17, 2022 1:23 pm
by The Land
The Land wrote: Wed Feb 16, 2022 6:45 pm I have a problem with a scenario which I've edited, then crashes when I try to run it from the editor.

I get this error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000158

The only thing I can find that might cause this is having an invalid road and river set up, with roads/railroads attempting to run parallel to rivers. But I don't believe that is the case in this scenario. Can anyone help?
So now I think this is somehow linked to the road, rail and river setup. But it's very unclear what. I am having to do hex-by-hex changes to these linear connections, saving every iteration, to try to narrow down the problem.

Re: Editor crashing problems

Posted: Fri Feb 18, 2022 9:11 am
by The Land
The Land wrote: Thu Feb 17, 2022 1:23 pm
The Land wrote: Wed Feb 16, 2022 6:45 pm I have a problem with a scenario which I've edited, then crashes when I try to run it from the editor.

I get this error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000158

The only thing I can find that might cause this is having an invalid road and river set up, with roads/railroads attempting to run parallel to rivers. But I don't believe that is the case in this scenario. Can anyone help?
So now I think this is somehow linked to the road, rail and river setup. But it's very unclear what. I am having to do hex-by-hex changes to these linear connections, saving every iteration, to try to narrow down the problem.
I have fixed my scenario but I am still not entirely clear what the problems are, except that one must take great care with road, rail and rivers. If the engine doesn't expect how one of these linears crosses the other, or you try to superimpose different kinds of junction for different things in the same hex, then you get a crash. Furthermore even if you delete the offending junction the scenario seems to still crash and become irrecoverable.

If I get time I will post some samples.

Re: Editor crashing problems

Posted: Sat Feb 19, 2022 4:50 am
by terminator
The only general advice I can give you is to test and save regularly (this is valid for all game editors)...