Search Issue Tracker
Fixed
Unknown (hidden) 2019.4.X, 2020.3.X, 2021.3.X
Fixed in 2023.1.0a15
Votes
1
Found in
2019.4.36f1
2020.3.41f1
2021.3.12f1
Issue ID
UUM-1173
Regression
No
Duplicate identifier is created when PrefabUtility.SaveAsPrefabAssetAndConnect is used
How to reproduce:
1. Open users attached project
2. Add "GL_Transi_Castle_Hallway01 - stripped" prefab to the scene
3. Press Test > SaveAsPrefabAssetAndConnect
Expected result: The prefab is saved correctly
Actual result: The prefab is broken, with errors specifying that there are duplicate identifiers
Reproducible with: 2019.4.36f1, 2020.3.31f1, 2021.2.14f1, 2022.1.0b12, 2022.2.0a8
Note: The error message will give you the wrong ID due to another bug, you can use "Test -> Find Duplicates" to find the correct duplicated IDs. You can find all the code used in Assets/Editor
Error:
Duplicate identifier -1085746240. File: "Assets/GL_Transi_Castle_Hallway01 - stripped.prefab".
UnityEditor.PrefabUtility:SaveAsPrefabAssetAndConnect (UnityEngine.GameObject,string,UnityEditor.InteractionMode)
PrefabTest:RunPrefabTest () (at Assets/Editor/PrefabTest.cs:19)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Values in "Rect Transform" component are only partially updated when changing values in Prefab Mode
- Same Asset Type Focused Inspectors do not repaint when menus are manipulated
- Bool or Trigger Parameters can be selected via right clicking to the right of a Parameter control in the Animator Window
- Warnings thrown when computing Positions in a 2D BlendTree are not helpful to the user
- Warnings thrown when adjusting Time Scale to Homogenous Speed in a BlendTree are not helpful to the user
Resolution Note (2021.3.X):
Won't fix
Resolution Note (2020.3.X):
Won't fix
Resolution Note (2019.4.X):
2019.4 LTS has reached end-of-life. This port is cancelled.