Search Issue Tracker
Fixed in 2022.1.X
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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Matrix property produces random output values when SRP Batcher is enabled
- "Untracked" memory is logged by the Profiler when small allocations for delegates and big allocations for new array creations happen simultaneously
- Rotation value change on the X-axis gets stuck when using transform.rotation.eulerAngles
- The Editor process is not being put in front when focused after using an un-docked feature window
- Motion Vectors for an object are included in the URP Motion Vector pass when the object's layer mask is filtered out
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a14