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)

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.