System.NullReferenceException at Orts.Simulation.Physics.Train.GetTrainInfoAuto (when passing a red signal)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Rails |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hello folks,
I created an activity on the ConnRiver route and I have found that the program crashes to desktop if I pass a red signal. I have been able to replicate the bug during two different activities on the route; both times instead of going into emergency brake mode, the game just crashes. In the current activity, I am operating a static train from a yard and theres a signal that won't let me get permission to pass. I suspect that an AI train thats further up the line heading toward me is not letting me clear the signal. So, I tried to force my way past since the AI train is few towns down the line and has several signals in between us, but the program seems to terminate the moment that the emergency brake should engage when passing the red signal.
The error pop-up I get is:
Error: System.
at Orts.Simulation
at Orts.Simulation
at Orts.Viewer3D.
at Orts.Viewer3D.
at Orts.Viewer3D.
at Orts.Viewer3D.
at Orts.Viewer3D.
at Orts.Viewer3D.
at Orts.Viewer3D.
at Orts.Viewer3D.
at System.
at System.
at System.
summary: |
- Program crashes when passes a red signal + Program crashes when passing a red signal |
description: | updated |
Changed in or: | |
status: | New → Incomplete |
summary: |
- Program crashes when passing a red signal + System.NullReferenceException at + Orts.Simulation.Physics.Train.GetTrainInfoAuto when passing a red signal |
summary: |
System.NullReferenceException at - Orts.Simulation.Physics.Train.GetTrainInfoAuto when passing a red signal + Orts.Simulation.Physics.Train.GetTrainInfoAuto (when passing a red + signal) |
tags: | added: physics |
What do you mean by "I am operating a static train"? Have you switched player train to a static consist?
Can you attach a screenshot (showing track monitor, train list window and also the dispatcher info HUD) taken just before passing the red signal?