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
- Parallax mapping with UVs set other than UV0 plugged into sample texture 2d produces an error
- Objects with single letter name won't show up in hierarchy search results
- The GameObject is not transparent when setting CameraDepthTexture as a depth render target
- SRP Lens Flares with Occlusion enabled inconsistently shine through objects
- "Can not play a disabled audio source" is thrown when audio is toggled on with disabled Audio Source in the Scene
Add comment