Search Issue Tracker
Third Party Issue
Votes
2
Found in
2021.2.0a19
2021.2.0a20
Issue ID
1343192
Regression
Yes
[Firebase] Importing package and restarting the Editor generates "Ambiguous match found" exceptions
Reproduction steps:
1. Create a new project
2. Download Firebase SDK from https://firebase.google.com/download/unity
3. Extract it and import "dotnet4/FirebaseAuth.unitypackage" into the Unity project
4. Wait for the import to finish
5. Close and re-open the project
Expected result: There are no errors in the console
Actual result: "Ambiguous match found" exception is thrown
Reproducible with: 2021.2.0a19, 2021.2.0b1
Not reproducible with: 2018.4.36f1, 2019.4.28f1, 2020.3.12f1, 2021.1.12f1, 2021.2.0a18
Full exception in Edits
Exception thrown when initializing GenerateXmlFromGoogleServicesJson: System.Reflection.AmbiguousMatchException: Ambiguous match found.
at System.RuntimeType.GetMethodImplCommon (System.String name, System.Int32 genericParameterCount, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConv, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00050] in <202f8c081a504aa2940103428e3fd66b>:0
Comments (5)
-
maciek_fras
Jul 13, 2022 10:01
Same 2021.3.0f1
-
ismailaltunic
Apr 27, 2022 09:59
Same 2021.3.1
-
mayurasodariya33
Feb 05, 2022 08:47
same issue 2021.2.9f1
-
xGeorgeV
Feb 04, 2022 18:47
Same 2021.2.10
-
EyeDev44
Jan 08, 2022 13:56
Same 2021.2.7
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on PluginManager::RefreshPlugins when closing the Editor without making any changes with JetBrains Rider selected as the External Code Editor and Google Mobile Ads third-party plugin imported
- GetMainLight() returns incorrect distanceAttenuation value for a Custom Shader when URP Forward+ Rendering Path is used
- Standalone Profiler crash on GuidReservations::Reserve when it is opened on a specific project
- m_RenderPipelineGlobalSettingsMap or m_SRPDefaultSettings is pointing to UnityEngine.Rendering.HighDefinition.HDRenderPipeline when High Definition RP package is removed
- Rendering Debugger fields have no padding at the bottom of the fields list
Resolution Note:
The issue seems to be resolved here: https://github.com/googlesamples/unity-jar-resolver/commit/5da4d94d75ffe0ddbf87adbcc5f0eb6e654246eb