slyh / Cities2-TrafficLightsEnhancement

Advanced traffic lights for Cities: Skylines II
206 stars 20 forks source link

Crash - [SceneFlow] [ERROR] AudioManager #93

Closed snottyone closed 5 months ago

snottyone commented 5 months ago

on savegame load:

[SceneFlow] [ERROR] AudioManager: Error on state change, disabling system... System.ArgumentException: An item with the same key has already been added. Key: 0 at System.Collections.Generic.Dictionary2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000dd] in :0 at System.Collections.Generic.Dictionary2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <b89873cb176e44a995a4781c7487d410>:0 at cohtml.Net.Binder.StoreManagedDelegate (System.Delegate handler, cohtml.Net.ManagedCallback managedCallback, System.Int32 targetId, cohtml.Net.BoundEventHandle handle) [0x00014] in <34a70e0068754567b86b66a15ff313c5>:0 at cohtml.Net.Binder.BindCall (System.String name, System.Delegate handler) [0x00030] in <34a70e0068754567b86b66a15ff313c5>:0 at cohtml.Net.View.BindCall (System.String name, System.Delegate handler) [0x00006] in <34a70e0068754567b86b66a15ff313c5>:0 at C2VM.TrafficLightsEnhancement.Systems.UISystem.UISystem.OnCreate () [0x00113] in C:\Users\Sam\Documents\Cities2-TrafficLightsEnhancement\TrafficLightsEnhancement\Systems\UISystem\UISystem.cs:90 at Unity.Entities.ComponentSystemBase.CreateInstance (Unity.Entities.World world) [0x00093] in <42dd0aeaaef34ed8acb4b4fe5f093234>:0 at Unity.Entities.World.AddSystem_OnCreate_Internal (Unity.Entities.ComponentSystemBase system) [0x00011] in <42dd0aeaaef34ed8acb4b4fe5f093234>:0 at Unity.Entities.World.CreateSystemInternal (Unity.Entities.SystemTypeIndex type) [0x0000f] in <42dd0aeaaef34ed8acb4b4fe5f093234>:0 at Unity.Entities.World.GetOrCreateSystem[T] () [0x00018] in <42dd0aeaaef34ed8acb4b4fe5f093234>:0 at C2VM.TrafficLightsEnhancement.Systems.UISystem.Patches.OnGameLoadingComplete (Game.Audio.AudioManager __instance, Game.GameMode& mode) [0x0000f] in C:\Users\Sam\Documents\Cities2-TrafficLightsEnhancement\TrafficLightsEnhancement\Systems\UISystem\Patches.cs:59 at (wrapper dynamic-method) Game.Audio.AudioManager.DMD<Game.Audio.AudioManager::OnGameLoadingComplete>(Game.Audio.AudioManager,Colossal.Serialization.Entities.Purpose,Game.GameMode) at Game.GameSystemBase.GameLoadingComplete (Colossal.Serialization.Entities.Purpose purpose, Game.GameMode mode) [0x00000] in <feff44428bf3435d97abac1bad09fa9d>:0

full log attached Player.log

snottyone commented 5 months ago

please close, crash due to me being dumb, local version collided with PDX version