Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

(Case 1047812) - GUI text width not calculated correctly when GUIStyle uses Word Wrap

Discussion in '2018.2 Beta' started by SoxwareInteractive, Jul 9, 2018.

  1. SoxwareInteractive

    SoxwareInteractive

    Joined:
    Jan 31, 2015
    Posts:
    541
    Hi,
    there is a problem with the GUI text width calculation. When a GUIStyle has "WordWrap" enabled, Unity breaks the text even though there is more than enough space available.

    ScreenshotShowingTheError.png

    This appears across the whole UI of my Asset Store product UMotion. I've reported this issue back in b07 but it's still present in the 2018.2.0f1. The only thing that changed is that it now also happens when Windows 10's App Scale is 100%.

    What's the current state of this bug? Please fix this before the first public 2018.2 release in order to not break functionality of my Asset Store product.

    Thanks.
     
    Peter77 likes this.