Skip to content

Unhandled Client Exception in System.Linq.Enumerable.OfTypeIterator[TResult] #410

@OnlyErrors

Description

@OnlyErrors

Thank you for your report! Please fill in the following information to help me better triage/resolve this issue.
What were you doing when the exception occurred?

What server were you playing on?

Has this crash occurred for you before?

Expected behavior (other than it not crashing)?

Diagnostic Information

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.Linq.Enumerable.OfTypeIterator[TResult](IEnumerable source)+MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList()
   at XNAControls.Input.InputTargetFinder.GetMouseButtonEventTargetControl(IEnumerable`1 collection, Boolean includeChildren)
   at XNAControls.Input.InputManager.Mouse_Click(Object sender, MouseEventArgs e)
   at MonoGame.Extended.Input.InputListeners.MouseListener.Update(GameTime gameTime)
   at XNAControls.Input.InputManager.Update(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.SortingFilteringCollection`1.ForEachFilteredItem[TUserData](Action`2 action, TUserData userData)
   at EndlessClient.GameExecution.EndlessGame.Update(GameTime gameTime) in D:\a\1\s\EndlessClient\GameExecution\EndlessGame.cs:line 197

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