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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Resolving as won't fix due to lack of communication from user, will be reopened when user responds