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
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
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.