Search Issue Tracker
Won't Fix
Votes
1
Found in
2018.4
2019.4
2020.2
2020.2.1f1
2020.3
2021.1
2021.2
Issue ID
1322120
Regression
No
The ID of the component gets changed when attaching the component to a different GameObject
How to reproduce:
1. Open the attached '1322120.zip' project
2. Open the 'Test' Prefab in a text editor
3. Observe the id of the second component that belongs to the 'G1' GameObject
4. Close the text editor
5. In the Project window double-click on the 'Test' Prefab
6. In the Hierarchy select 'G1'
7. Drag 'My Component' from the Inspector onto the 'G2' GameObject in the Hierarchy
8. Save the Prefab
9. Open the 'Test' Prefab in a text editor
10. Observe the id of the second component that belongs to the 'G2' GameObject
Expected result: After moving the component the id stays the same (id is 1760030278620665072)
Actual result: The id gets changed after moving the component
Reproducible with: 2018.4.33f1, 2019.4.22f1, 2020.2.7f1, 2020.3.1f1, 2021.1.0f1, 2021.2.0a10
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
Resolving as won't fix due to lack of communication from user, will be reopened when user responds