question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Entitas 1.4] Collection was modified; enumeration operation may not execute.

See original GitHub issue

Tested in Entitas 1.4, a Unity new project, Window 7, Unity 2017.3.

Below error appear after execute Jenny auto-import

Collection was modified; enumeration operation may not execute.

It is working fine for me using Entitas 1.2.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ArcticFox-Devcommented, Feb 27, 2018

Yup that did it for me thanks 😉 Now i can enjoy those delicious garbage free group iterations 😄

0reactions
sschmidcommented, Feb 28, 2018

If you already want to patch the dll, here it is

DesperateDevs.Utils.dll.zip

Override existing dll in Jenny folder and Entitas folder

Read more comments on GitHub >

github_iconTop Results From Across the Web

Collection was modified; enumeration operation may not ...
So the issue behind this error is, we can not modify the list/dictionary while we are looping through the same. One of the...
Read more >
Why the error Collection was modified enumeration ...
This error occurs when a looping process is being running on a collection (Ex: List) and the collection is modified (data added or...
Read more >
Collection Was Modified Enumeration Operation May Not ...
The collection was modified enumeration operation may not execute exception occurs when you modify the collection while looping through the same.
Read more >
Collection was modified; enumeration operation may not ...
When the collection is modified (fe by Remove) the enumerator is invalidated. Easiest would be to use a plain for loop instead foreach....
Read more >
startkit/Entitas-CSharp
Changed Entitas Asset Store package structure by separating Desperate Devs ... Fixed jenny "Collection was modified; enumeration operation may not execute.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found