Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.4.28f1

2020.3.8f1

2021.1.0a2

2021.1.16f1

2021.2

2022.1

Issue ID

1357369

Regression

Yes

"Error loading the file" and "Duplicate identifier" errors in the Console when importing .anim file

Scene Management

-

How to reproduce:
1. Open the attached project "animImport"
2. Open the Project window (Window > General > Project) and click on the .anim file "1357369_Stance_Idle.anim"
3. Open and inspect the Console window (Window > General > Console)

Expected result: No errors show up in the Console window
Actual result: Multiple errors show up in the Console window related to importing the .anim file

Reproducible with: 2019.4.28f1, 2019.4.29f1, 2020.3.8f1, 2020.3.16f1, 2021.1.0a2, 2021.1.17f1, 2021.2.0b7, 2022.1.0a5
Not reproducible with: 2019.4.27f1, 2020.3.7f1, 2021.1.0a1

Errors:
Duplicate identifier 7400000. File: "Assets/1357369_Stance_Idle.anim".
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Error loading the file 'Assets/1357369_Stance_Idle.anim'. File has multiple objects with same identifiers. Probably caused by a merge.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Duplicate identifier 7400000. File: "Assets/1357369_Stance_Idle.anim".
Duplicate identifier 7400000. File: "Assets/1357369_Stance_Idle.anim".
UnityEditor.HostView:OnSelectionChange ()
Duplicate identifier 7400000. File: "Assets/1357369_Stance_Idle.anim".
UnityEditor.Selection:Internal_CallSelectionChanged ()

  1. Resolution Note:

    The file is broken, it has 4 copies of the exact same content, even includes the unity YAML header 4 times. Either someone did a poor job merging the file or someone opened it in a text editor, selected all the content and duplicated it 3 times. I have attached a fixed version of the file.

Add comment

Log in to post comment