Error when adding second wave to second control track

Hi. I get an error that says “ArgumentException: An item with the same key has already been added. Key: Animation Track (UnityEngine.Timeline.AnimationTrack)”. This happens when I try to drag Wave1-2 onto the timeline for the second Control Track. I’m not sure what I might have done wrong.

Wave 1-2 is just a second instance of the Wave1 prefab, but with the Transform adjusted a bit. It appears if the Timeline tab is open. The game seems fine in runtime, though.

Hi Yenway,

Which version of Unity do you use? Another student had the same problem a few days ago, and updating Unity fixed the issue for him.

I’m using 2022.3.3f1. At the time I installed Unity again, this was the latest LTS.

LTS does not mean bug free. The latest LTS version is 2022.3.5f1.

The problem was found in multiple versions of Unity. Here is the bug report.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms