Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.3.0a8
2019.4
2019.4.14f1
2020.2
2021.1
2021.2
Issue ID
1306672
Regression
Yes
ScrollRect stays unresponsive after changing its size to float.PositiveInfinity and then returning it back to a numeric value
How to reproduce it:
1. Open the attached project ("ScrollRectInfinityBug.zip")
2. Load "IssueScene" Scene
3. Enter Play Mode
4. Observe Scroll View in the Game view
Expected result: Scroll View is responsive to mouse events and it is scrollable
Actual result: Scroll View is unresponsive to mouse events
Reproducible with: 2019.3.0a8, 2019.4.19f1, 2020.2.3f1, 2021.1.0b4, 2021.2.0a3
Not reproducible with: 2018.4.31f1, 2019.3.0a7
Notes:
- After the change the ScrollRect size to float.PositiveInfinity, it is possible to change the size of ScrollRect and it will have an effect, but ScrollRect will be not usable and unresponsive
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
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
Resolution Note (2021.2.X):
The issue is that our back end has changed and no longer can recover from a infinite size. The change was done to support the TransformDispatchSystem and can not be undone. Unfortunately there is very little we can do.