Search Issue Tracker
Fixed in 2017.2.0f3
Votes
1
Found in
2017.2.0b3
Issue ID
931004
Regression
Yes
TextMesh Pro A$ package fails on 2017.2
1. What happened
I've imported the most recent version of TMPro package from forum https://forum.unity3d.com/threads/textmesh-pro-now-available-from-unity.458634/ from here: https://drive.google.com/open?id=0B1iR_Z6pySn2elZXdzJLbzNheGM
When trying to access/play a demo scene, I'm getting:
MissingMethodException: Method not found: 'UnityEngine.Mesh.Clear'.
TMPro.TextMeshPro.SetArraySizes (System.Int32[] chars)
TMPro.TMP_Text.ParseInputText ()
TMPro.TextMeshPro.OnPreRenderObject ()
TMPro.TextMeshPro.Rebuild (CanvasUpdate update)
TMPro.TMP_UpdateManager.OnCameraPreRender (UnityEngine.Camera cam)
UnityEngine.Camera.FireOnPreCull (UnityEngine.Camera cam) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/CameraBindings.gen.cs:741)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
and
NullReferenceException: Object reference not set to an instance of an object
TMPro.TMP_Text.FillCharacterVertexBuffers (Int32 i, Int32 index_X4, Boolean isVolumetric)
TMPro.TextMeshPro.GenerateTextMesh ()
TMPro.TextMeshPro.OnPreRenderObject ()
TMPro.TextMeshPro.Rebuild (CanvasUpdate update)
TMPro.TMP_UpdateManager.OnCameraPreRender (UnityEngine.Camera cam)
UnityEngine.Camera.FireOnPreCull (UnityEngine.Camera cam) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/runtime/CameraBindings.gen.cs:741)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
And nothing is displayed.
The same works fine in 2017.1. The package needs be updated for 2017.2 as well.
2. How we can reproduce it using the example you attached
- Open e.g. scene '02 - Multi-line TextMesh Pro'
>>> Observe errors in Console
- Play
>>> Scene enters Play mode, but nothing is displayed
Comments (3)
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
esverin
Aug 18, 2017 12:22
This happens for me in 2017.2.0b5 as well
MrKilljoy
Aug 06, 2017 11:38
In 2017.2 b5 with UI text:
"MissingMethodException: Method 'UnityEngine.Mesh.Clear' not found.
TMPro.TextMeshProUGUI.SetArraySizes (System.Int32[] chars) (at <454f2973f89348aa975b66532b873929>:0)
TMPro.TMP_Text.ParseInputText () (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.Canvas:SendWillRenderCanvases()"
As mentionned, textmesh doesn't appear, only the RectTransform gizmos do
Infrid
Jul 31, 2017 15:59
me too