SDK 3.5.2, AmbiguousMatchException : Multiple custom attributes of the same type found
complete
MyroP
I was working on my world, and play testing it with ClientSim worked fine.
Later, I uploaded it on VRChat, and I noticed that most references were suddenly null, I got many NullPointer exceptions, and I couldn't figure out the issue.
The only thing I noticed was this error message I got during the build: "AmbiguousMatchException : Multiple custom attributes of the same type found"
It seems like an error happened during the build, and a incomplete/broken build got uploaded ?
Downgrading the SDK version to 3.5.1 fixed that issue for me, something in the latest SDK version is breaking my world, and I don't know what...
Log In
This post was marked as
complete
This post was marked as
available in future release
Fax
tracked
AltCentauri
Ive just updated one of my own projects to 3.5.2, and am now running into the exact same issue
AmbiguousMatchException: Multiple custom attributes of the same type found.
System.Attribute.GetCustomAttribute (System.Reflection.MemberInfo element, System.Type attributeType, System.Boolean inherit) (at <eef08f56e2e042f1b3027eca477293d9>:0)
System.Attribute.GetCustomAttribute (System.Reflection.MemberInfo element, System.Type attributeType) (at <eef08f56e2e042f1b3027eca477293d9>:0)
UdonSharpEditor.UdonSharpEditorManager.CalculateLookup () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:2023)
UdonSharpEditor.UdonSharpEditorManager.PrepareUdonSharpBehavioursForPlay (System.Collections.Generic.IEnumerable`1[T] rootBehaviours, System.Boolean stripBehavioursForBuild) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:1974)
UdonSharpEditor.UdonSharpEditorManager.OnSceneBuildInternal (System.Boolean isBuildingPlayer) (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:95)
UdonSharpEditor.UdonSharpEditorManager.OnSceneBuild () (at ./Packages/com.vrchat.worlds/Integrations/UdonSharp/Editor/UdonSharpEditorManager.cs:62)
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eef08f56e2e042f1b3027eca477293d9>:0)
UnityEditor.BuildPipeline:BuildAssetBundles(String, AssetBundleBuild[], BuildAssetBundleOptions, BuildTarget)
VRC.SDK3.Editor.Builder.VRCWorldAssetExporter:ExportCurrentSceneResource(Boolean, Action
1, Action
1)VRC.SDK3.Editor.Builder.VRCWorldBuilder:ExportSceneResourceInternal(Boolean)
VRC.SDK3.Editor.Builder.VRCWorldBuilder:ExportSceneResource()
VRC.SDK3.Editor.<Build>d__114:MoveNext() (at ./Packages/com.vrchat.worlds/Editor/VRCSDK/SDK3/VRCSdkControlPanelWorldBuilder.cs:2123)
UnityEngine.UnitySynchronizationContext:ExecuteTasks()
V
Valence VRC
Hi MyroP! Would you be able to post a text version of the full error log you saw?
MyroP
Valence VRC Hi, I forgot to copy the error log before switching to an older SDK, but AltCentauri shared it above .