It seems to me something has gone wrong with the installation of Open Rails.
Just tried this activity on version X2071, and all went well (see attached log). There have been no changes to this code since X2048.
Also, these are the lines around the line where the crash occured :
public int SetTrainDetails(int trainNumber, int subpathRef, float trainLength, Train.TCSubpathRoute subpath, int elementRouteIndex)
{
int trainSubpathIndex = GetTrainAndSubpathIndex(trainNumber, subpathRef); Train.TCSubpathRoute partPath = null; // retreived route of train through deadlock area
// search if trains path has valid equivalent
Clearly, there is na array in there.
There were problems in this routine earlier but these were corrected in version X2048. It seems somehow you still have the old version of RunActivity.exe.
It seems to me something has gone wrong with the installation of Open Rails.
Just tried this activity on version X2071, and all went well (see attached log). There have been no changes to this code since X2048.
Also, these are the lines around the line where the crash occured :
public int SetTrainDetails(int trainNumber, int subpathRef, float trainLength, Train.TCSubpath Route subpath, int elementRouteIndex) athIndex( trainNumber, subpathRef);
Train. TCSubpathRoute partPath = null; // retreived route of train through deadlock area
{
int trainSubpathIndex = GetTrainAndSubp
// search if trains path has valid equivalent
Clearly, there is na array in there.
There were problems in this routine earlier but these were corrected in version X2048. It seems somehow you still have the old version of RunActivity.exe.