How to reproduce:
1. Open the “JoinAnchorsBug.zip” project
2. Open the “SampleScene“
3. Enter the Play Mode
4. Observe the Game view
Expected results: The Red Cube is touching and follows the left side of the Blue Cube
Actual results: The Red Cube does not follow the left side of the Blue Cube
Reproducible in: 2021.3.39f1, 2022.3.32f1, 6000.0.5f1
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Workaround: Create a script that updates the anchor position, based on the scale of the GameObject
Notes:
- In version 6000.0.5f1, the correct behavior is shown by the Green Cube using a custom script, where the scale change is respected and the anchor position is changed based on it, in other versions the workaround does not work
- The current application of this feature, does not allow the anchor position to be respective to the scale