How to reproduce:
1. Open the attached “IN-136057“ project
2. Open the “SampleScene“ scene
3. Enter Play mode
4. In the Game view, note the y-axis positions of the Terrain’s trees
5. In the Hierarchy window, select the “Reproduction“ GameObject
6. In the Inspector, open the Context Menu of the “Reproduction (Script)“ Component and select “Set Terrain Heights”
7. Repeat step 4
Actual result: The trees were snapped to the Terrain’s Height Map
Expected result: The trees remained in the same position on the y-axis
Reproducible with: 2023.1.0a1, 6000.0.70f1, 6000.3.11f1, 6000.4.0b11, 6000.5.0a8
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Workaround: Instead of using SetHeights(), use SetHeightsDelayLOD()
Note: The provided workaround may cause the terrain to be rendered at an inappropriately high level of detail