Search Issue Tracker
Fixed in 4.6.X
Votes
0
Found in
4.6.0b12
Issue ID
618295
Regression
No
uGUI: Content Size Fitter drives Anchors even when disabled
To reproduce:
1. Open project
2. Open 'test' scene
3. Select 'Panel' gameobject in Hierarchy
4. In 'Content Size Fitter (Script)' component change 'Vertical Fit' to PreferredSize
5. Vertical Anchor of 'Panel' ('Stretch') is being changed to 'Bottom'
6. Disable 'Content Size Fitter (Script)' component
7. Change 'Anchor Preset' to 'Stretch/Stretch' (To preset in lower right corner)
8. Anchor Preset doesn't change to 'Stretch/Stretch'
Possible workarounds:
1. Remove disable 'Content Size Fitter (Script)' component from gameobject
2. Change 'Vertical Fit' to 'Unconstrained' in disabled 'Content Size Fitter (Script)' component
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment