Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
2017.4.1f1
Issue ID
1030212
Regression
Yes
GUI element with Rect Transform position is set to 0.0.0 after attaching it to the disabled canvas
How to reproduce:
1. Open given Unity project
2. Enter "test" scene
-- Notice that canvas is disabled
3. Enter Play Mode
--Notice that canvas is enabled
4. Expand canvas in the hierarchy
5. Notice that 10 GUI objects with Rect Transform are instantiated in (0, 0, 0) position
Expected result: 10 GUI objects should be instantiated in random positions
Actual result: 0 GUI objects with Rect Transform are instantiated in (0, 0, 0) position
Regression first introduced in: 2017.3.1p1
Reproducible with: 2018.2.0b2, 2018.1.0f1, 2017.4.1f1, 2017.3.2f1
Not reproducible with: 2017.2.2p2, 2017.1.3p2
Note:
It's not the same bug which can be solved with RectTransform.ForceUpdateRectTransforms
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ListView fails to display items when the source list is cleared and a single element is added
- UI Toolkit ':hover' state remains active when another panel is drawn over the hovered element and Touch input is used
- Unsupported Orient modes can be selected and throw errors when using Strip VFX
- "Tab" key exits the name text field in the VFX Graph tab when renaming the Property
- Shader warnings are thrown when deleting blocks in the Ribbon VFX Graph
Add comment