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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Resolution Note:
Resolving as won't fix due to lack of communication from user, will be reopened when user responds