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?
Editor crashing problems
Moderator: Panzer Corps 2 Moderators
Re: Editor crashing problems
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.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?
Re: Editor crashing problems
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.The Land wrote: ↑Thu Feb 17, 2022 1:23 pmSo 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.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?
If I get time I will post some samples.
-
terminator
- Field Marshal - Gustav

- Posts: 6115
- Joined: Mon Aug 15, 2011 12:48 pm
- Location: the land of freedom
Re: Editor crashing problems
The only general advice I can give you is to test and save regularly (this is valid for all game editors)...
