Search Issue Tracker

Fixed in 2019.3.X



Found in



Issue ID




[Scripting] MissingMethodException errors are thrown on selecting object after updating the API



MissingMethodException errors are thrown on selecting object after updating the API.

Steps to repro:
1. Open the attached project.
2. Click on Upgrade > Select "I made a backup, Go Ahead".
3. Open "Main" scene.
4. Select the Sphere game object in the Hierarchy.

Actual Result:
MissingMethodException errors are thrown in the console.

Expected Result:
No error occurs in the console.

Reproducible in:
2019.3.0a12, 2019.3.0a3.

Working Fine in:
2019.3.0a2, 2019.2.0f1.

Windows & Mac 10.14.

Reported similar bug:
Current bugs regression, repro steps and stack trace are different from 1108911.

Stack trace:
MissingMethodException: void UnityEngine.UnityAPICompatibilityVersionAttribute..ctor(string,string[])
System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
System.Reflection.Assembly.GetCustomAttributes (System.Type attributeType, System.Boolean inherit) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
UnityEditor.Localization.Editor.LocalizationGroup.initialize (System.Reflection.Assembly assembly) (at <2c7108252b3f412abf2ec8c94fb7c234>:0)
UnityEditor.Localization.Editor.LocalizationGroup..ctor (UnityEngine.Behaviour behaviour) (at <2c7108252b3f412abf2ec8c94fb7c234>:0)
UnityEditor.GenericInspector.OnOptimizedInspectorGUI (UnityEngine.Rect contentRect) (at <2c7108252b3f412abf2ec8c94fb7c234>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass53_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <2c7108252b3f412abf2ec8c94fb7c234>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Comments (4)

  1. LazloBonin

    Jun 07, 2020 21:54

    This issue is not actually resolved, it still appears in Unity 2019.3.15f1.

  2. jasonbelmonti1002

    Apr 23, 2020 02:12

    Im also seeing this in Unity 2019.3.10f1

  3. victordevtb

    Apr 21, 2020 20:43

    This Errors happens when you have an Outdated version of Odin Inspector on Your project, I fixed it updating Odin Inspector. I'm on Unity 2019.3.9f

  4. MigrantP

    Apr 20, 2020 15:12

    I am seeing this now in Unity 2019.3.10f1. It was not occurring in 2019.3.9f1.

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.