Search Issue Tracker
Not Reproducible
Votes
3
Found in
2017.1.1f1
Issue ID
954631
Regression
No
ScrollRect viewport rect dimensions are 0 in the first frame if Scroll Bar visibility is set to "Auto Hide And Expand Viewport"
Reproduction steps:
1. Open the attached project "ScrollViewBug.zip";
2. Open the Test scene;
3. Enter a play mode;
4. Observe the Console.
Expected results: PrintRectSize will print the correct dimensions of ScrollRect viewport.
Actual results: PrintRectSize prints zeros for the first frame.
Note: After changing visibility in the Inspector (Canvas->Scroll View->Visibility) for both scrollbars to "Permanent" or "Autohide", the console prints correct viewport of scrollbars.
Reproduced on: 5.5.3p3, 5.6.3p4, 2017.1.2f1, 2017.2.0f3, 2017.3.0b4.
Not reproduced in 2018.3.0a1
Comments (4)
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
- Inconsistent capitalization and misaligned text in multiple query blocks in Search window
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- WebGL sends wrong value with large numbers when SendMessage function is used
- Add Behaviour dropdown has a part in which the dropdown outline is cut out when the Add Behaviour dropdown is opened
PieterAlbers
Apr 18, 2023 07:56
Reproducible in 2021.3.16
Bip901
Jan 09, 2022 18:24
Reproduced on 2020.3.3f1
flyingbanana
May 20, 2018 22:09
Reproduced on 2018.1.0b13.
Hikaru_T
Apr 25, 2018 08:03
It reproduced even on 2017.3.1f1 and annoyed me as well.