Search Unity

[2017.2] errors. updated tmp beta package available?

Discussion in 'UGUI & TextMesh Pro' started by Infrid, Jul 31, 2017.

  1. Infrid

    Infrid

    Joined:
    Jan 14, 2012
    Posts:
    67
    I'm working with 2017.2 beta and TMP is giving me lots of errors.

    Sorry if this is a dupe post - I would've liked to have searched; but it seems search doesn't allow searching subforums

    MissingMethodException: Method 'UnityEngine.Mesh.Clear' not found.
    TMPro.TextMeshPro.SetArraySizes (System.Int32[] chars) (at <454f2973f89348aa975b66532b873929>:0)
    TMPro.TMP_Text.ParseInputText () (at <454f2973f89348aa975b66532b873929>:0)
    TMPro.TextMeshPro_OnPreRenderObject () (at <454f2973f89348aa975b66532b873929>:0)
    TMPro.TextMeshPro.Rebuild (UnityEngine.UI.CanvasUpdate update) (at <454f2973f89348aa975b66532b873929>:0)
    TMPro.TMP_UpdateManager.OnCameraPreRender (UnityEngine.Camera cam) (at <454f2973f89348aa975b66532b873929>:0)
    UnityEngine.Camera.FireOnPreCull (UnityEngine.Camera cam)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)



    NullReferenceException: Object reference not set to an instance of an object
    TMPro.TMP_Text.FillCharacterVertexBuffers (System.Int32 i, System.Int32 index_X4, System.Boolean isVolumetric) (at <454f2973f89348aa975b66532b873929>:0)
    TMPro.TextMeshPro.GenerateTextMesh () (at <454f2973f89348aa975b66532b873929>:0)
    TMPro.TextMeshPro_OnPreRenderObject () (at <454f2973f89348aa975b66532b873929>:0)
    TMPro.TextMeshPro.Rebuild (UnityEngine.UI.CanvasUpdate update) (at <454f2973f89348aa975b66532b873929>:0)
    TMPro.TMP_UpdateManager.OnCameraPreRender (UnityEngine.Camera cam) (at <454f2973f89348aa975b66532b873929>:0)
    UnityEngine.Camera.FireOnPreCull (UnityEngine.Camera cam)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    Since 2017.2 contains additional API changes, an update for TMP will be needed for Unity 2017.2.

    At the present time, there is not release available of TMP for Unity 2017.2. I expect to have a release available by the end of the week / weekend.