Search Issue Tracker

Fixed

Fixed in 6000.3.5f1, 6000.4.0b5, 6000.5.0a5

Votes

0

Found in

6000.3.3f1

6000.4.0b3

6000.5.0a4

Issue ID

UUM-131717

Regression

No

Advanced Text Auto size spams “Invalid BestFit Range” warnings when setting Min size to negative value

UI Builder

-

Steps to reproduce:
1. Create a new Unity project
2. Open UI Builder window
3. In Hierarchy add Button Element
4. Find and expand “Text” section in Inspector window
5. Change Text Generator Type to “Advanced”
6. In Advanced Test Settings enable Auto Size
7. Change Min size to -10
8. Observe the Console window

Actual results: Warnings are spammed in the Condole “Invalid BestFit Range”
Expected results: No warnings should be spammed in the Console

Reproducible with versions: 6000.3.3f1, 6000.4.0b3, 6000.5.0a4
Can’t test with versions: 6000.0.65f1 (No Advanced Text Settings)

Tested on (OS): Ubuntu 24.04, macOS Silicon Tahoe 26.2

Notes:
{code:java}
Invalid BestFit Range: minFontSize (-62.00) >= maxFontSize (200.00)
UnityEngine.UIElements.ATGTextJobSystem/GenerateTextJobData:Execute (int)
Unity.Jobs.IJobForExtensions/ForJobStruct`1<UnityEngine.UIElements.ATGTextJobSystem/GenerateTextJobData>:Execute (UnityEngine.UIElements.ATGTextJobSystem/GenerateTextJobData&,intptr,intptr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,int) (at /Users/bokken/build/output/unity/unity/Runtime/Jobs/Managed/IJobFor.cs:47)
Unity.Jobs.JobHandle:Complete () (at /Users/bokken/build/output/unity/unity/Runtime/Jobs/ScriptBindings/JobHandle.bindings.cs:26)
UnityEditor.GUIView:ProcessEvent (UnityEngine.EntityId,intptr,bool&)
{code}

  1. Resolution Note (fix version 6000.5.0a5):

    Fixed in 6000.5.0a5

  2. Resolution Note (fix version 6000.4.0b5):

    Fixed in 6000.4.0b5

  3. Resolution Note (fix version 6000.3.5f1):

    Fixed in 6000.3.5f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.