Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
Issue ID
1340189
Regression
No
Selecting a FontAsset to none in the UI Builder throws warnings
1- Open UI Builder Window
2- Add a Label
3- Set FontAsset to None
4- Select a Font
Expected: No warnings are shown
Actual: It throws warnings
Details:
Invalid font reference
UnityEngine.UIElements.VisualTreeStyleUpdaterTraversal:TraverseRecursive (UnityEngine.UIElements.VisualElement,int)
Unity.UI.Builder.BuilderVisualTreeStyleUpdaterTraversal:TraverseRecursive (UnityEngine.UIElements.VisualElement,int) (at C:/work/unity-merge-trunk/External/MirroredPackageSources/com.unity.ui.builder/Editor/Builder/Viewport/BuilderVisualTreeStyleUpdaterTraversal.cs:67)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Color picker does not show the correct color when selecting color on the moving object
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
Resolution Note (fix version 2021.2):
Fixed both following issues at the same time:
- 1340195: Can't assign a none Font in UIBuilder
- 1340189: Selecting a FontAsset to none in the UI Builder throws warnings
It is now possible to set both USS properties to None and not see the Builder throw exceptions or send out warnings.