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
- Crash on AudioMixer::GetFMODChannelGroup when entering Play Mode in a specific project
- Prefabs with "Flags" enum properties result in "IndexOutOfRangeException" when trying to commit/revert
- The Camera first person mode in Cameras overlay is greyed out and not clickable when the Editor is restarted with the Game View focused
- Scene View doesn't select the Canvas when it's clicked with the View Tool
- Transform fields are impossible to edit when Inspector window is resized
Add comment