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
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
- Group Node name text is way smaller in the renaming state than the actual display size
- "Visual Effect Event Tester" Overlay is cut off when using the Scene View not in standard dimensions
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-73722