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
- MeshRenderer.sortingLayerID cannot be changed when change is being done in a built Player
- Warnings related to App Icon are being thrown when building project to VisionOS Platform
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
Add comment