Search Issue Tracker

Active

Votes

2

Found in

2018.3.0b4

2018.4

2019.4

2020.3

2021.1

2021.2

Issue ID

1088655

Regression

No

ScrollRect Content RectTransform values are modified when reloading a Scene/Prefab

uGUI

-

How to reproduce:
1. Open the attached project (case_1088655-ScrollRect)
2. Open SampleScene
3. Select Content in the Scene Hierarchy
4. Set the Left, Right, and Pos Y values to 0
5. Double click SampleScene in the Assets window to reload the Scene
6. Select Content in the Scene Hierarchy

Expected result: The Left, Right, and Pos Y values are 0
Actual result: The Left, Right, and Pos Y values are not 0 and there is a Console warning

Reproducible with: 2018.4.32f1, 2019.4.21f1, 2020.3.1f1, 2021.1.0f1, 2021.2.0a10

Notes:
1. Same can be reproduced when closing and reopening a prefab

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.