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

Crash when disconnecting #291

Open
slash-under opened this issue Sep 30, 2022 · 0 comments
Open

Crash when disconnecting #291

slash-under opened this issue Sep 30, 2022 · 0 comments
Labels

Comments

@slash-under
Copy link

slash-under commented Sep 30, 2022

Describe the bug

Shortly after closing the game connected to an active multiplayer session with Exit to Desktop, the game crashes.

To Reproduce
Steps to reproduce the behavior:

  1. Connect to a server
  2. Disconnect with Exit to Desktop

Expected behavior
The game closes without crashing.

Screenshots
N/A, please see exception below

Active DLCs

  • Snowfall
  • Mass Transit
  • Parklife
  • Industries
  • After Dark
  • Match Day

Active mods

  • Harmony
  • CSM
  • 81 Tiles 2
  • Theme Mixer 2
  • LSM Revisited
  • Real Time
  • Fine Road Anarchy 2

Versions
Type /version into the in-game chat and paste the version numbers here:

  • Mod version: 2209.221
  • Game version: 1.15.0-f7

Additional context

InvalidOperationException: Already in the same thread. Call directly
  at ColossalFramework.Threading.Dispatcher.CheckAccessLimitation () [0x00000] in <filename unknown>:0 
  at ColossalFramework.Threading.DispatcherBase.Dispatch (System.Action action, Boolean safe) [0x00000] in <filename unknown>:0 
  at ColossalFramework.Threading.DispatcherBase.Dispatch (System.Action action) [0x00000] in <filename unknown>:0 
  at ThreadingWrapper.QueueMainThread (System.Action action) [0x00000] in <filename unknown>:0 
  at CSM.Networking.Client.Disconnect () [0x00000] in <filename unknown>:0 
  at CSM.Networking.MultiplayerManager.StopEverything () [0x00000] in <filename unknown>:0 
  at CSM.Extensions.LoadingExtension.OnReleased () [0x00000] in <filename unknown>:0 
  at LoadingWrapper.OnLoadingExtensionsReleased () [0x00000] in <filename unknown>:0 
Rethrow as ModException: The Mod %LOCALAPPDATA%\Colossal Order\Cities_Skylines\Addons\Mods\1558438291 [LiteNetLib.dll, protobuf-net.dll, CSM.API.dll, System.Threading.dll, Open.Nat.dll, CSM.BaseGame.dll, CSM.dll] has caused an error

UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
LoadingWrapper:OnLoadingExtensionsReleased()
LoadingWrapper:Release()
LoadingManager:ReleaseRelay()
LoadingManager:OnDestroy()
 
(Filename:  Line: -1)

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

Successfully merging a pull request may close this issue.

1 participant