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
- WebGL build dependencies are not refreshed until the Editor is restarted
- “Audio Random Container” allows adding unlimited number in “Audio Clips” numeric field, causing Editor to freeze
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
Resolution Note:
Resolving as won't fix due to lack of communication from user, will be reopened when user responds