Crash when disconnecting
slash-under opened this issue · comments
Rebecca Johns commented
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:
- Connect to a server
- 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!!!