Comment 1 for bug 1286978

Revision history for this message
r.roeterdink (r-roeterdink) wrote : Re: Some activities crash while loading

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.