We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ae86a3 commit 1c8cbd1Copy full SHA for 1c8cbd1
1 file changed
Assets/UdonSharp/Editor/UdonSharpUtils.cs
@@ -758,10 +758,8 @@ public UdonSharpAssemblyLoadStripScope()
758
759
if (originalDelegates != null)
760
{
761
- foreach (Delegate del in handler.GetInvocationList())
762
- handler -= (AssemblyLoadEventHandler)del;
763
-
764
- info.SetValue(AppDomain.CurrentDomain, handler);
+ foreach (Delegate del in originalDelegates)
+ AppDomain.CurrentDomain.AssemblyLoad -= (AssemblyLoadEventHandler)del;
765
}
766
767
0 commit comments