Search Issue Tracker

Fixed in 2017.1.X

Votes

4

Found in

2017.1.0b1

Issue ID

902698

Regression

Yes

MissingMethodException when accessing TextMesh Pro component

Scripting

-

1. What happened
For 'TextMesh Pro' A$ package. Selecting Game Object with 'TextMeshPro' script component causes the exception to be thrown:

MissingMethodException: Method not found: 'UnityEditor.MaterialEditor.BeginAnimatedCheck'.
TMPro.EditorUtilities.TMP_BaseShaderGUI.DoColor (System.String name, System.String label)
TMPro.EditorUtilities.TMP_SDFShaderGUI.DoFacePanel ()
TMPro.EditorUtilities.TMP_SDFShaderGUI.DoGUI ()
TMPro.EditorUtilities.TMP_BaseShaderGUI.OnGUI (UnityEditor.MaterialEditor materialEditor, UnityEditor.MaterialProperty[] properties)
UnityEditor.MaterialEditor.PropertiesGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/MaterialEditor.cs:1456)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

This doesn't occur in 5.6.0p1

2. How we can reproduce it using the example you attached
- Open e.g. scene '02 - Multi-line TextMesh Pro'
- Select GO 'Multi Line TextMesh Pro'
---> Error in console

Comments (29)

  1. MarkeMark1972

    Jul 31, 2017 12:32

    Happens in version 2017.1.0f3 too.
    I see this error appear in the console whenever I interact with the TextMesh Pro inspector panel.
    After a while, I see hundreds of these error messages.

    MissingMethodException: Method not found: 'UnityEditor.MaterialEditor.BeginAnimatedCheck'.
    TMPro.EditorUtilities.TMP_BaseShaderGUI.DoColor (System.String name, System.String label)
    TMPro.EditorUtilities.TMP_SDFShaderGUI.DoUnderlayPanel ()
    TMPro.EditorUtilities.TMP_SDFShaderGUI.DoGUI ()
    TMPro.EditorUtilities.TMP_BaseShaderGUI.OnGUI (UnityEditor.MaterialEditor materialEditor, UnityEditor.MaterialProperty[] properties)
    UnityEditor.MaterialEditor.PropertiesGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/MaterialEditor.cs:1459)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

  2. vpfrimmer

    Jul 24, 2017 15:27

    Still happenning on Unity 2017.1.0f3 with TMP version 1.0.55.0b11 ..

  3. pravinyadav

    Jul 24, 2017 07:28

    Thx STEPHAN_B for giving the solution.

  4. pravinyadav

    Jul 24, 2017 06:30

    Still facing the same issue in Unity 2017.1.0f3

  5. IshikiGames

    Jul 22, 2017 16:24

    This is still occurring with both the latest version from the asset store and the latest version of Unity as of the time of writing 2017.1 f3

  6. renman3000

    Jul 18, 2017 17:42

    My apologies, link in thread provides solution.
    Cheers

  7. renman3000

    Jul 18, 2017 17:38

    Happening in 2017.1.0f3

    MissingMethodException: Method not found: 'UnityEditor.MaterialEditor.BeginAnimatedCheck'.
    TMPro.EditorUtilities.TMP_BaseShaderGUI.DoColor (System.String name, System.String label)
    TMPro.EditorUtilities.TMP_SDFShaderGUI.DoFacePanel ()
    TMPro.EditorUtilities.TMP_SDFShaderGUI.DoGUI ()
    TMPro.EditorUtilities.TMP_BaseShaderGUI.OnGUI (UnityEditor.MaterialEditor materialEditor, UnityEditor.MaterialProperty[] properties)
    UnityEditor.MaterialEditor.PropertiesGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/MaterialEditor.cs:1459)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

    Anytime I select a TextMeshPro unit in the Hierarchy, I get this.....

  8. Dryn27

    Jul 17, 2017 06:56

    Still happening with Unity 2017.1.0.f3

  9. AdamLiu

    Jul 13, 2017 04:29

    Same, still happening in Unity 2017.1.0.f3

  10. tiptip

    Jul 12, 2017 08:51

    still happening in 2017.1.0f3

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.