Search Issue Tracker
Fixed in 2018.1.X
Votes
0
Found in
2018.2.0a1
Issue ID
1005245
Regression
No
[investigate] [YAMLMerge] Incorrect merge result when merging prefab
Steps to reproduce:
0. Setup perforce server
1. Open attached project
2. Enable VCS and submit project to server
3. Pull and open same project on another machine too
4. On first machine, drag GameObject prefab to hierarchy
5. Duplicate Cube object so now GameObject would have Cube and Cube (1) children
6. Move Cube (1) to different transform position and apply changes to prefab
7. Do steps 4 - 6 on second machine too
8. Back on first machine, submit changes to remote machine
9. Now on second machine, submit prefab changes too - notice merge conflict which is expected
10. Resolve conflict using semantic and merge tool option
11. On second machine, notice that now prefab hierarchy is:
GameObject
Cube
Cube <- this doesn't seem right, Cube (1) is expected
Cube (1)
Note, doing same steps on scene files instead of prefabs produces expected hierarchy layout:
GameObject
Cube
Cube (1)
Cube (1)
Reproduced with: 5.6.4p3, 2017.3.1p2, 2018.2.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment