Search Issue Tracker
Fixed
Votes
0
Found in
6000.0.7f1
Issue ID
UUM-74054
Regression
Yes
[TMP] Clicking on Font Features dropdown in Extra Settings throws NullReferenceException
*Steps to reproduce:*
1. Open attached project "font-features.zip"
2. Open scene "Scenes/SampleScene"
3. In hierarchy, select "Canvas > Text (TMP)" object
4. In inspector, on TextMeshPro - Text (UI) component, expand Extra Settings
5. Click on Font Features dropdown to open it
*Expected results:* Dropdown opens with all available options
*Actual results:* Dropdown shows empy panel, throws NullReferenceException in console:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.MaskFieldDropDown.OnGUI (UnityEngine.Rect rect) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/MaskFieldDropdown.cs:182)
UnityEditor.PopupWindow.OnGUI () (at /Users/bokken/build/output/unity/unity/Editor/Mono/GUI/PopupWindow.cs:122)
UnityEditor.HostView.OldOnGUI () (at /Users/bokken/build/output/unity/unity/Editor/Mono/HostView.cs:317)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:403)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219)
*Reproducible with versions:* 6000.0.7f1
*Not reproducible with versions:* 6000.0.6f1
*Tested on (OS):* Mac (Intel)
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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-73722