Sound Issues related to Car On Switch and Curve

Bug #1889465 reported by Rodrigo Dominguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
New
Undecided
Unassigned

Bug Description

I am receiving the following error using sounds for curves and switches,
Issue reported in: https://www.trainsim.com/vbts/showthread.php?334428-Sound-Issues-causing-OR-chrashing

Error Code received:

Error: System.ArgumentException: La matriz de destino no es suficientemente larga. Compruebe destIndex, la longitud y los límites inferiores de la matriz.
en System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
en System.Collections.Generic.List`1.ToArray()
en Orts.Viewer3D.TrackSoundSource.UpdateCarOnSwitchAn dCurve() en E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Sound .cs:línea 390
en Orts.Viewer3D.TrackSoundSource.Update() en E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Sound .cs:línea 330
en Orts.Viewer3D.Processes.SoundProcess.Sound() en E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\SoundProcess.cs:línea 132
en Orts.Viewer3D.Processes.SoundProcess.DoSound() en E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\SoundProcess.cs:línea 116
en Orts.Viewer3D.Processes.SoundProcess.SoundThread() en E:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\SoundProcess.cs:línea 100
en System.Threading.ThreadHelper.ThreadStart_Context( Object state)
en System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
en System.Threading.ThreadHelper.ThreadStart()
Information: Game.PopState()
TT

Thanks and regards

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.