Shadows of Forbidden Gods

Shadows of Forbidden Gods

Community Library
Bug report that I had to put here because steam wouldn't let me post a comment that had more than 1000 characters
It looks like if you try to launch a game with the setting 'Dwarven Expansion mechanics' and 'Dwarven Surface Fortresses' active you get this error:

InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.Dictionary`2+Enumerator[TKey,TValue].MoveNext () [0x00013] in <6073cf49ed704e958b8a66d540dea948>:0
at CommunityLib.ModData.onTurnEnd (Assets.Code.Map map) [0x0009a] in <4f604d8e83094b43b4f5b8d36e843855>:0
at CommunityLib.ModCore.onTurnEnd (Assets.Code.Map map) [0x00059] in <4f604d8e83094b43b4f5b8d36e843855>:0
at Assets.Code.Map.turnTick () [0x00074] in <87722c3d024842ed81b5e159dacda8fd>:0
at Assets.Code.World.startup (Assets.Code.GameOptions opts) [0x0041b] in <87722c3d024842ed81b5e159dacda8fd>:0
at Assets.Code.PopupGameOptions.startGame () [0x0001f] in <87722c3d024842ed81b5e159dacda8fd>:0
at UnityEngine.Events.InvokableCall.Invoke () [0x00010] in <b18ae20108aa49ccb481b7d86c1fcbd2>:0
at UnityEngine.Events.UnityEvent.Invoke () [0x00022] in <b18ae20108aa49ccb481b7d86c1fcbd2>:0
at UnityEngine.UI.Button.Press () [0x00027] in <9bfae1dbc3ab45afbfa204130a1cfc3a>:0
at UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00010] in <9bfae1dbc3ab45afbfa204130a1cfc3a>:0
at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00008] in <9bfae1dbc3ab45afbfa204130a1cfc3a>:0
at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x0006f] in <9bfae1dbc3ab45afbfa204130a1cfc3a>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
UnityEngine.EventSystems.StandaloneInputModule:ReleaseMouse(PointerEventData, GameObject)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent()
UnityEngine.EventSystems.StandaloneInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()
< >
Showing 1-3 of 3 comments
ilikegoodfood  [developer] 3 Apr @ 5:02am 
Thank you for the bug report. I'm working on a fix as we speak.

Just so you know, Steam doesn't automatically notify me of a new thread being opened, so I spotted this by chance.
It's a good idea to pop a message in the general comments letting the mod author know that you're opened a new thread.
ilikegoodfood  [developer] 3 Apr @ 5:20am 
The fix is now live.
Steam can take up to a few hours to distribute new updates, so if you need it immediately, the easiest option is to unsubscribe, wait a few seconds for Steam to delete your local copy, then resubscribe.
When you resubscribe, double check your mod options and the position of the mod in the load order.
Much appreciated for the prompt reply, thanks again.
< >
Showing 1-3 of 3 comments
Per page: 1530 50