Skip to content

InvalidOperationException: Collection was modified; enumeration operation may not execute. #32

Description

@jhillacre

Saw this traceback, probably related to the new client version.

[2020-02-06 04:08:21] InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at SmartHunter.Game.Helpers.MhwHelper.UpdateMonsterStatusEffects(Process process, Monster monster)
   at SmartHunter.Game.Helpers.MhwHelper.UpdateAndGetMonster(Process process, UInt64 monsterAddress)
   at SmartHunter.Game.Helpers.MhwHelper.UpdateMonsterWidget(Process process, UInt64 monsterBaseList)
   at SmartHunter.Game.MhwMemoryUpdater.UpdateMemory()
   at SmartHunter.Core.MemoryUpdater.<>c__DisplayClass19_0.<CreateStateMachine>b__23()
[2020-02-06 04:08:23] InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at SmartHunter.Game.Helpers.MhwHelper.UpdateMonsterStatusEffects(Process process, Monster monster)
   at SmartHunter.Game.Helpers.MhwHelper.UpdateAndGetMonster(Process process, UInt64 monsterAddress)
   at SmartHunter.Game.Helpers.MhwHelper.UpdateMonsterWidget(Process process, UInt64 monsterBaseList)
   at SmartHunter.Game.MhwMemoryUpdater.UpdateMemory()
   at SmartHunter.Core.MemoryUpdater.<>c__DisplayClass19_0.<CreateStateMachine>b__23()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions