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
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
- Celestial bodies order remains unchanged when the Distance setting is modified
- A memory leak occurs with massive terrain when camera position changes occur.
- No valid hits are returned when using RaycastCommand
- Camera is not overlooking the main Scene in Scene View in the HDRP Sample Template
Resolution Note:
Resolving as won't fix due to lack of communication from user, will be reopened when user responds