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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
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.