NullReferenceException: Object reference not set to an instance of an object
TMPro.TMP_Text.FillCharacterVertexBuffers (System.Int32 i, System.Int32 index_X4) (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TextMeshProUGUI.GenerateTextMesh () (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TextMeshProUGUI.GenerateTextMesh () (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TextMeshProUGUI.GenerateTextMesh () (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TextMeshProUGUI.GenerateTextMesh () (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TextMeshProUGUI.GenerateTextMesh () (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TextMeshProUGUI.GenerateTextMesh () (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TextMeshProUGUI.GenerateTextMesh () (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TextMeshProUGUI.GenerateTextMesh () (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TextMeshProUGUI.GenerateTextMesh () (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TextMeshProUGUI.GenerateTextMesh () (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TextMeshProUGUI.GenerateTextMesh () (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TextMeshProUGUI.GenerateTextMesh () (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TextMeshProUGUI.OnPreRenderCanvas () (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TextMeshProUGUI.Rebuild (UnityEngine.UI.CanvasUpdate update) (at <454f2973f89348aa975b66532b873929>:0)
UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/CanvasUpdateRegistry.cs:150)
UnityEngine.UI.ScrollRect:LateUpdate()
I get this exception in the editor when I have the following setup: a panel with a ScrollRect (viewport set to itself, content set to it’s child) and a Mask. It has the TextMesh Pro text as it’s children with Rich Text and Auto Size enabled. Also the Wrapping & Overflow is set to Scroll Rect. After this we start the game and the text is not visible with this exception.