Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.2.0f1
Issue ID
972933
Regression
No
UI Text component preferred size differs after changing Canvas size
To reproduce:
1. Download attached project "UIText_PreferredSize_BugReport.zipp" and open in Unity
2. Open "bugRerport" scene
3. Enter Play mode using [1334 x 750] canvas size
4. Observe Text layout properties - they are [0, 0, 737, 41]
5. Change canvas size to [2001 x 1225]
6. Observe Text layout properties - they are [0, 0, 738, 81.33334] now
Notes:
- This issue appears on both Windows and OSX
- This issue also can be seen in the WebGL build when entered to full-screen mode.
Reproduced on Unity 5.6.4p4, 2017.1.2p3, 2017.2.0p4, 2017.3.0f1 and 2018.1.0a7
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment