During the execution of the application, I fill in a List <object> _myList with the objects I need, using Couroutine .
In Update I _myList through my _myList list using the .First() extension method.
But while InvalidOperationException: Operation is not valid due to the current state of the object through the list, I get an exception: InvalidOperationException: Operation is not valid due to the current state of the object
Before iterating through the list, I check for null .
What is the reason for the exception being thrown?