NullReferenceException: Object reference not set to an instance of an object
TMPro.MaterialReference..ctor (System.Int32 index, TMPro.TMP_FontAsset fontAsset, TMPro.TMP_SpriteAsset spriteAsset, UnityEngine.Material material, System.Single padding) (at ./Library/PackageCache/com.unity.ugui@6d075bb4592c/Runtime/TMP/MaterialReferenceManager.cs:596)
TMPro.TextMeshProUGUI.SetArraySizes (TMPro.TMP_Text+TextProcessingElement[] textProcessingArray) (at ./Library/PackageCache/com.unity.ugui@6d075bb4592c/Runtime/TMP/TextMeshProUGUI.cs:1724)
TMPro.TMP_Text.ParseInputText () (at ./Library/PackageCache/com.unity.ugui@6d075bb4592c/Runtime/TMP/TMP_Text.cs:2090)
TMPro.TMP_Text.GetPreferredWidth () (at ./Library/PackageCache/com.unity.ugui@6d075bb4592c/Runtime/TMP/TMP_Text.cs:3882)
TMPro.TMP_Text.get_preferredWidth () (at ./Library/PackageCache/com.unity.ugui@6d075bb4592c/Runtime/TMP/TMP_Text.cs:1556)
UnityEditor.Events.LayoutPropertiesPreview+<>c.<OnPreviewGUI>b__8_4 (UnityEngine.UI.ILayoutElement e) (at ./Library/PackageCache/com.unity.ugui@6d075bb4592c/Editor/UGUI/UI/LayoutPropertiesPreview.cs:101)