Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.2f1
2019.1.0a1
2019.2.0a3
Issue ID
1120687
Regression
No
Object's RectTransform with ContentSizeFitter isn't scaled when UI elements are enabled/disabled via a Toggle
How to reproduce:
1. Open the attached project ("Case_1120687 Scrollview.zip")
2. Enter Play Mode
3. In the Game View click Toggle to disable the bottom two images
4. Observe the "Canvas" -> "Scroll View NOT OK" -> "Viewport" -> "Content" RectTransform and the Slider in the Game View
Expected result: The slider is no longer visible and the RectTransform's Heigh is lowered
Actual result: The slider is still visible and the RectTransform's Heigh is the same (245.96)
Reproduced in: 2019.2.0a3, 2019.1.0b1, 2018.3.3f1, 2017.4.19f1
Note: Manually disabling/enabling the Image objects scales the RectTransform and the slider properly
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (2019.2.X):
low priority and minor or cosmetic issues. likely won't fix.