Skip to content

Arcade mode crashes #1239

@alektronic

Description

@alektronic

Description

Selecting 'Arcade' as mode of driving in Windows and Ubuntu results in crash a few seconds after driving commences. This occurs with any combination of routes and trains I've tested. Normal driving mode works without crashing with the same routes and trains.

Example crash log:

2026-02-16 20:22:59
OpenBVE 1.12.0.1 Crash Log
Program is running on the Windows backend
Current screen resolution is: Windowed 1280px X 960px 
Current routefile is: D:\Games\OpenBVE\Railway\Route\Aln Valley\[104] Evening.csv
Current train is: D:\Games\OpenBVE\Train\cl104
Current train plugin is: OS_Ats1.dll
2 file(s) not found
3 error(s), 7 warning(s)
The current routefile caused the following exception: 
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at OpenBve.Game.UpdateScoreMessages(Double timeElapsed)
   at OpenBve.OpenBVEGame.OnUpdateFrame(FrameEventArgs e)
   at OpenTK.GameWindow.RaiseUpdateFrame(Stopwatch watch, Double elapsed, Double& timestamp)
   at OpenTK.GameWindow.DispatchUpdateFrame(Stopwatch watch)
   at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   at OpenBve.MainLoop.StartLoopEx(LaunchParameters result)
   at OpenBve.Program.Main(String[] args)   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at OpenBve.Program.Main(String[] args)
Current program memory usage: 445.29mb
System memory free: 22843mb

Related information

Same behaviour in Windows 11 and Ubuntu 25.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions