Error with Persistent Active Data "Invalid OperationException: Collecion was modified; enumeration operation may not
Posted: Mon Nov 06, 2023 3:26 pm
Hi!
I have a problem when trying to use the Persistent Active Data. When I attach the component to 1 object and set it up like this:
I can save and load the game and the object will work as intended, but I receive this message on the Console:
Finally, when I use the component on more than 1 object, then when I load the game, only the first object will follow the correct behavior and the second will just be active, also I can see that on that object the "Last Check" is set to "none"
So I'm not sure what the problem is here. thanks in advance!
I have a problem when trying to use the Persistent Active Data. When I attach the component to 1 object and set it up like this:
I can save and load the game and the object will work as intended, but I receive this message on the Console:
Finally, when I use the component on more than 1 object, then when I load the game, only the first object will follow the correct behavior and the second will just be active, also I can see that on that object the "Last Check" is set to "none"
So I'm not sure what the problem is here. thanks in advance!