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
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
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
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.