Search Issue Tracker

Active

Under Consideration for 6000.3.X, 6000.4.X

Votes

0

Found in

6000.3.0a1

6000.3.0a6

6000.4.0a1

Issue ID

UUM-114892

Regression

Yes

AmbiguousMatchException: Ambiguous match found.” errors are spammed in the Console window when creating Lens Flare Asset

-

*Steps to reproduce:*
1. Create new Unity project
2. In Project window create Lens Flare (Create > Rendering > Lens Flare (SRP)
3. Observe the Console window 

*Actual results:* "AmbiguousMatchException: Ambiguous match found." 999+ errors are spammed in the Console after creating Lens Flare Asset in the project
*Expected results:* There should be no errors in the Console

*Reproducible with versions:* 6000.3.0a1 (4592b02ab560), 6000.3.0a6

*Not reproducible with versions:* 6000.2.2f1 (ea398eefe1c2)

*Tested on (OS):* macOS Silicon, Sequoia 15.6 (M1) / Windows 11

*Error:*
{code:java}
AmbiguousMatchException: Ambiguous match found.
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) (at <f0ad4b6727804bf1a87050b81f850f3b>:0)
System.RuntimeType.GetMethodImpl (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConv, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) (at <f0ad4b6727804bf1a87050b81f850f3b>:0)
System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr) (at <f0ad4b6727804bf1a87050b81f850f3b>:0)
UnityEditor.Rendering.LensFlareDataSRPEditor..cctor () (at ./Library/PackageCache/com.unity.render-pipelines.core@16d57ca91cb5/Editor/PostProcessing/LensFlareDataSRPEditor.cs:132)
Rethrow as TypeInitializationException: The type initializer for 'UnityEditor.Rendering.LensFlareDataSRPEditor' threw an exception.
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass81_0.<CreateInspectorElementUsingIMGUI>b__0 () (at /Users/bokken/build/output/unity/unity/Editor/Mono/UIElements/Inspector/InspectorElement.cs:768)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:224)
{code}

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.