Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shunting unload jobs not spawning #77

Open
RadPowr opened this issue Jun 16, 2024 · 2 comments
Open

Shunting unload jobs not spawning #77

RadPowr opened this issue Jun 16, 2024 · 2 comments
Labels
need more info Further information is requested

Comments

@RadPowr
Copy link

RadPowr commented Jun 16, 2024

I have 5 flatcars with steel. When i use "refresh jobs", an error appers in console (ArgumentOutOfRangeException: Specified argument was out of the range of valid values).
I want to note that when I brought these сars and handed over the job, the shunting unload job was generated (because max 9 flatcars on L - track can be placed). But if you move away from GF and come back again, or accept and cancel the job, then the SU job will not be generated again if refresh.
Also, the presence of these cars prevents the SL job generation with other cars
20240616223955_1

@fauxnik
Copy link
Owner

fauxnik commented Jun 20, 2024

I will need a log file from a session in which this occurs (the more isolated, the better) in order to debug this.

@fauxnik fauxnik added the need more info Further information is requested label Jun 20, 2024
@RadPowr
Copy link
Author

RadPowr commented Jun 30, 2024

Log.zip
I got the log, but it's not for those session (on GF). The last session was similar, but now there are coal wagons on the SM that do not want to be unloaded. :) I do not know why the log file is so large (145 Mb), I zip-archived it.
20240630133032_1

PS Found this exception:
ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index
at System.Linq.Enumerable.ElementAt[TSource] (System.Collections.Generic.IEnumerable'1[T] source, System.Int32 index) [0x0007b] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at RollingStockOwnership.Extensions.IEnumerable_Extensions.ElementAtRandom[T] (System.Collections.Generic.IEnumerable'1[T] enumerable, System.Random rng) [0x0000d] in <16c0930bc9224252afa071e9817f4180>:0
at RollingStockOwnership.ProceduralJobsController+d__7.MoveNext () [0x01df4] in <16c0930bc9224252afa071e9817f4180>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <85d1d3e7744a4a47b5f51883bf40bba2>:0

(Filename: <351e49e2a5bf4fd6beabb458ce2255f3> Line: 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants