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

Transport line bug #302

Closed
maisatanel opened this issue Feb 4, 2023 · 0 comments · Fixed by #325
Closed

Transport line bug #302

maisatanel opened this issue Feb 4, 2023 · 0 comments · Fixed by #325

Comments

@maisatanel
Copy link

Had this happen to my save:

Screenshot from 2023-02-04 22-41-39

Screenshot from 2023-02-04 22-41-31

This happened while a client was trying remove a transport line that was no longer on a road.

Here's the log:

[22:34:36.6081] [Error] Array16: Received id 20567 already in use. Please restart the multiplayer session!
[22:34:36.6131] [Warn] ArrayHandler: Applying more items than collected!
[22:34:36.6131] [Warn] ArrayHandler: Applying more items than collected!
[22:34:37.1421] [Error] Array16: Received id 36472 already in use. Please restart the multiplayer session!
[22:34:37.1431] [Except] Exception while parsing TransportLineTempCommand: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IndexOutOfRangeException: Array index is out of range.
at NetManager.CreateNode (uint16&,ColossalFramework.Math.Randomizer&,NetInfo,UnityEngine.Vector3,uint) <0x0006b>
at TransportLine.CreateNode (uint16,uint16&,UnityEngine.Vector3,bool) <0x000f4>
at TransportLine.CloneLine (uint16,uint16) <0x001ba>
at TransportTool.SetEditLine (uint16,bool) <0x00191>
at (wrapper dynamic-method) TransportTool.TransportTool.EnsureTempLine_Patch2 (TransportTool,TransportInfo,uint16,int,int,UnityEngine.Vector3,bool) <0x003e2>
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (object,object[],System.Exception&) <0x00080>
at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x001ac>

  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at CSM.API.Helpers.ReflectionHelper.Call (System.Object obj, System.String name, System.Type[] types, System.Object[] param) [0x00000] in <filename unknown>:0 
  at CSM.API.Helpers.ReflectionHelper.Call (System.Object obj, System.String name, System.Object[] param) [0x00000] in <filename unknown>:0 
  at CSM.BaseGame.Commands.Handler.TransportLines.TransportLineTempHandler.Handle (CSM.BaseGame.Commands.Data.TransportLines.TransportLineTempCommand command) [0x00000] in <filename unknown>:0 
  at CSM.API.Commands.CommandHandler`1[C].Parse (CSM.API.Commands.CommandBase command) [0x00000] in <filename unknown>:0 
  at CSM.Commands.TransactionHandler.FinishReceived (Int32 sender) [0x00000] in <filename unknown>:0 

We were using all DLCs, but this issue might be happening on vanilla configurations as well. Also we were running off Proton on Linux, so there's that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant