Search Issue Tracker

Fixed in 2019.3

Votes

1

Found in

2019.3.0a3

2019.3.0a12

Issue ID

1175500

Regression

Yes

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

Scripting

-

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.

Environment:
Windows & Mac 10.14.

NOTE:
Reported similar bug: https://fogbugz.unity3d.com/f/cases/edit/1108911/
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 (3)

  1. 41de29fb3292db356cf22b02fe215280?d=mm

    jasonbelmonti1002

    Apr 23, 2020 02:12

    Im also seeing this in Unity 2019.3.10f1

  2. 9ddf56fd9cabac44efabf3beebaff316?d=mm

    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

  3. Bd5f99cd93b337412a81858ef4eeb79f?d=mm

    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.