System.NullReferenceException at Orts.Common.ToggleAngleCockACommand.Redo (U2023.05.06-0707, Marias Pass, ITR_e1_s1_w1_t1, Toggling Anglecock Crashes Replay)

Bug #2018669 reported by Phillip Schlichting
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
New
Undecided
Unassigned

Bug Description

When replaying a save file where an anglecock was opened or closed in the F9 train ops menu, the sim will crash when the replay reaches the point at which the anglecock was toggled.

To reproduce:
1. Start any activity (also works in explore mode).
2. Open the train operations window.
3. Click on the lead rail vehicle and toggle the front anglecock.
4. Save the session.
5. Quit the simulation.
6. Using the resume/replay button on the main menu, select the save made in step 4 and replay from start.
7. Wait for the replay to reach the point in time where step 3 was executed.
8. Error message appears and a null reference exception is reported at Orts.Common.ToggleAngleCockACommand.Redo()

Tags: crash replay
Revision history for this message
Phillip Schlichting (pschlik) wrote :
tags: added: crash
James Ross (twpol)
summary: - Toggling Anglecock Crashes Replay
+ System.NullReferenceException at
+ Orts.Common.ToggleAngleCockACommand.Redo (U2023.05.06-0707, Marias Pass,
+ ITR_e1_s1_w1_t1, Toggling Anglecock Crashes Replay)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.