patwrobel Posted November 22, 2025 Posted November 22, 2025 Witam, nie da się załadować rozkładu (jak w załączniku) bez ustawionego PH. Gdy ustawię na pierwszej stacji Łódź Olechów -> StopType = commercialStop to działa ale jak ustawię noStopover lub departure to leci błąd: Sprawdzane na DRAGON + wagony osobowego - bo pewnie jest problem z renderowaniem rozkładu na tabliczkach wagonów. Cytat [2025-11-22 13:25:46]: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Sequence contains no elements at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.PlatformBoards.PlatformBoardData.FirstStationFromTimetable (TimeTable timeTable) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.PlatformBoards.PlatformBoardData..ctor (TimeTable timeTable, Assets.Scripts.Trainset.Storage.TimeTablePointResult currentTimeTablePointElement, System.String currentStationName) [0x00000] in <00000000000000000000000000000000>:0 at TimeTable.SetStationDepartureBoardManual (System.Boolean setEmptyBoards) [0x00000] in <00000000000000000000000000000000>:0 at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Interop.MethodMemberDescriptor.Execute (MoonSharp.Interpreter.Script script, System.Object obj, MoonSharp.Interpreter.ScriptExecutionContext context, MoonSharp.Interpreter.CallbackArguments args) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Interop.OverloadedMethodMemberDescriptor.PerformOverloadedCall (MoonSharp.Interpreter.Script script, System.Object obj, MoonSharp.Interpreter.ScriptExecutionContext context, MoonSharp.Interpreter.CallbackArguments args) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Interop.OverloadedMethodMemberDescriptor+<>c__DisplayClass33_0.<GetCallback>b__0 (MoonSharp.Interpreter.ScriptExecutionContext context, MoonSharp.Interpreter.CallbackArguments args) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Internal_ExecCall (System.Int32 argsCount, System.Int32 instructionPtr, MoonSharp.Interpreter.CallbackFunction handler, MoonSharp.Interpreter.CallbackFunction continuation, System.Boolean thisCall, System.String debugText, MoonSharp.Interpreter.DynValue unwindHandler) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Processing_Loop (System.Int32 instructionPtr) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Coroutine_Resume (MoonSharp.Interpreter.DynValue[] args) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.SimRailLuaSupport.LuaCoroutineWrapper+LuaWrappedCoroutine+<UnityToLuaWrappedCoroutine>d__26.MoveNext () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.SimRailLuaSupport.LuaCoroutineWrapper+LuaWrappedCoroutine..ctor (Assets.Scripts.SimRailLuaSupport.LuaCoroutineWrapper parent, MoonSharp.Interpreter.Closure func) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.SimRailLuaSupport.LuaStaticMappings.CreateCoroutine (MoonSharp.Interpreter.Closure coroutine) [0x00000] in <00000000000000000000000000000000>:0 at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Interop.MethodMemberDescriptor.Execute (MoonSharp.Interpreter.Script script, System.Object obj, MoonSharp.Interpreter.ScriptExecutionContext context, MoonSharp.Interpreter.CallbackArguments args) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Interop.FunctionMemberDescriptorBase+<>c__DisplayClass29_0.<GetCallback>b__0 (MoonSharp.Interpreter.ScriptExecutionContext c, MoonSharp.Interpreter.CallbackArguments a) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Internal_ExecCall (System.Int32 argsCount, System.Int32 instructionPtr, MoonSharp.Interpreter.CallbackFunction handler, MoonSharp.Interpreter.CallbackFunction continuation, System.Boolean thisCall, System.String debugText, MoonSharp.Interpreter.DynValue unwindHandler) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Processing_Loop (System.Int32 instructionPtr) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Coroutine_Resume (MoonSharp.Interpreter.DynValue[] args) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.SimRailLuaSupport.LuaCoroutineWrapper+LuaWrappedCoroutine+<UnityToLuaWrappedCoroutine>d__26.MoveNext () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.SimRailLuaSupport.LuaCoroutineWrapper+LuaWrappedCoroutine..ctor (Assets.Scripts.SimRailLuaSupport.LuaCoroutineWrapper parent, MoonSharp.Interpreter.Closure func) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.SimRailLuaSupport.LuaStaticMappings.CreateCoroutine (MoonSharp.Interpreter.Closure coroutine) [0x00000] in <00000000000000000000000000000000>:0 at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Interop.MethodMemberDescriptor.Execute (MoonSharp.Interpreter.Script script, System.Object obj, MoonSharp.Interpreter.ScriptExecutionContext context, MoonSharp.Interpreter.CallbackArguments args) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Interop.FunctionMemberDescriptorBase+<>c__DisplayClass29_0.<GetCallback>b__0 (MoonSharp.Interpreter.ScriptExecutionContext c, MoonSharp.Interpreter.CallbackArguments a) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Internal_ExecCall (System.Int32 argsCount, System.Int32 instructionPtr, MoonSharp.Interpreter.CallbackFunction handler, MoonSharp.Interpreter.CallbackFunction continuation, System.Boolean thisCall, System.String debugText, MoonSharp.Interpreter.DynValue unwindHandler) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Processing_Loop (System.Int32 instructionPtr) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Call (MoonSharp.Interpreter.DynValue function, MoonSharp.Interpreter.DynValue[] args) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Script.Call (MoonSharp.Interpreter.DynValue function, MoonSharp.Interpreter.DynValue[] args) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.SimRailLuaSupport.LuaScenarioController.RunDevCommand (System.String text) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.GuiChatCommand.RunCommand (System.String command) [0x00000] in <00000000000000000000000000000000>:0 at GUIChat.SendTextMessage (System.String message) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.Events.InvokableCall`1[T1].Invoke (T1 args0) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.Events.UnityEvent`1[T0].Invoke (T0 arg0) [0x00000] in <00000000000000000000000000000000>:0 at TMPro.TMP_InputField.OnUpdateSelected (UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.InputSystem.UI.InputSystemUIInputModule.ProcessNavigation (UnityEngine.InputSystem.UI.NavigationModel& navigationState) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.InputSystem.UI.InputSystemUIInputModule.Process () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.EventSystems.EventSystem.Update () [0x00000] in <00000000000000000000000000000000>:0 --- End of inner exception stack trace --- at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Interop.MethodMemberDescriptor.Execute (MoonSharp.Interpreter.Script script, System.Object obj, MoonSharp.Interpreter.ScriptExecutionContext context, MoonSharp.Interpreter.CallbackArguments args) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Interop.OverloadedMethodMemberDescriptor.PerformOverloadedCall (MoonSharp.Interpreter.Script script, System.Object obj, MoonSharp.Interpreter.ScriptExecutionContext context, MoonSharp.Interpreter.CallbackArguments args) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Interop.OverloadedMethodMemberDescriptor+<>c__DisplayClass33_0.<GetCallback>b__0 (MoonSharp.Interpreter.ScriptExecutionContext context, MoonSharp.Interpreter.CallbackArguments args) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Internal_ExecCall (System.Int32 argsCount, System.Int32 instructionPtr, MoonSharp.Interpreter.CallbackFunction handler, MoonSharp.Interpreter.CallbackFunction continuation, System.Boolean thisCall, System.String debugText, MoonSharp.Interpreter.DynValue unwindHandler) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Processing_Loop (System.Int32 instructionPtr) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Coroutine_Resume (MoonSharp.Interpreter.DynValue[] args) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.SimRailLuaSupport.LuaCoroutineWrapper+LuaWrappedCoroutine+<UnityToLuaWrappedCoroutine>d__26.MoveNext () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.SimRailLuaSupport.LuaCoroutineWrapper+LuaWrappedCoroutine..ctor (Assets.Scripts.SimRailLuaSupport.LuaCoroutineWrapper parent, MoonSharp.Interpreter.Closure func) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.SimRailLuaSupport.LuaStaticMappings.CreateCoroutine (MoonSharp.Interpreter.Closure coroutine) [0x00000] in <00000000000000000000000000000000>:0 at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Interop.MethodMemberDescriptor.Execute (MoonSharp.Interpreter.Script script, System.Object obj, MoonSharp.Interpreter.ScriptExecutionContext context, MoonSharp.Interpreter.CallbackArguments args) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Interop.FunctionMemberDescriptorBase+<>c__DisplayClass29_0.<GetCallback>b__0 (MoonSharp.Interpreter.ScriptExecutionContext c, MoonSharp.Interpreter.CallbackArguments a) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Internal_ExecCall (System.Int32 argsCount, System.Int32 instructionPtr, MoonSharp.Interpreter.CallbackFunction handler, MoonSharp.Interpreter.CallbackFunction continuation, System.Boolean thisCall, System.String debugText, MoonSharp.Interpreter.DynValue unwindHandler) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Processing_Loop (System.Int32 instructionPtr) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Coroutine_Resume (MoonSharp.Interpreter.DynValue[] args) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.SimRailLuaSupport.LuaCoroutineWrapper+LuaWrappedCoroutine+<UnityToLuaWrappedCoroutine>d__26.MoveNext () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.SimRailLuaSupport.LuaCoroutineWrapper+LuaWrappedCoroutine..ctor (Assets.Scripts.SimRailLuaSupport.LuaCoroutineWrapper parent, MoonSharp.Interpreter.Closure func) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.SimRailLuaSupport.LuaStaticMappings.CreateCoroutine (MoonSharp.Interpreter.Closure coroutine) [0x00000] in <00000000000000000000000000000000>:0 at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Interop.MethodMemberDescriptor.Execute (MoonSharp.Interpreter.Script script, System.Object obj, MoonSharp.Interpreter.ScriptExecutionContext context, MoonSharp.Interpreter.CallbackArguments args) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Interop.FunctionMemberDescriptorBase+<>c__DisplayClass29_0.<GetCallback>b__0 (MoonSharp.Interpreter.ScriptExecutionContext c, MoonSharp.Interpreter.CallbackArguments a) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Internal_ExecCall (System.Int32 argsCount, System.Int32 instructionPtr, MoonSharp.Interpreter.CallbackFunction handler, MoonSharp.Interpreter.CallbackFunction continuation, System.Boolean thisCall, System.String debugText, MoonSharp.Interpreter.DynValue unwindHandler) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Processing_Loop (System.Int32 instructionPtr) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Execution.VM.Processor.Call (MoonSharp.Interpreter.DynValue function, MoonSharp.Interpreter.DynValue[] args) [0x00000] in <00000000000000000000000000000000>:0 at MoonSharp.Interpreter.Script.Call (MoonSharp.Interpreter.DynValue function, MoonSharp.Interpreter.DynValue[] args) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.SimRailLuaSupport.LuaScenarioController.RunDevCommand (System.String text) [0x00000] in <00000000000000000000000000000000>:0 at Assets.Scripts.GuiChatCommand.RunCommand (System.String command) [0x00000] in <00000000000000000000000000000000>:0 at GUIChat.SendTextMessage (System.String message) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.Events.InvokableCall`1[T1].Invoke (T1 args0) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.Events.UnityEvent`1[T0].Invoke (T0 arg0) [0x00000] in <00000000000000000000000000000000>:0 at TMPro.TMP_InputField.OnUpdateSelected (UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.InputSystem.UI.InputSystemUIInputModule.ProcessNavigation (UnityEngine.InputSystem.UI.NavigationModel& navigationState) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.InputSystem.UI.InputSystemUIInputModule.Process () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.EventSystems.EventSystem.Update () [0x00000] in <00000000000000000000000000000000>:0 Sluzbowy_IC.7z
SIMRAIL Team Admin BOT Posted November 30, 2025 SIMRAIL Team Posted November 30, 2025 Thank you for reporting this issue! Internal ticket number: #4138 Dziękujemy za zgłoszenie tego problemu! Wewnętrzny numer zgłoszenia: #4138
SIMRAIL Team DingDing Posted December 9, 2025 SIMRAIL Team Posted December 9, 2025 Czy można poprosić kod Lua generujący błąd? Ew. przy którym semaforze się to dzieje, bo jak na razie nie udało się tego zreprodukować.
Recommended Posts