Global Channels -> Empty window and constant error in log

Was using the GlobalChannels for a couple of days in my project now, but only in the VVVV patch editor. Today I wanted to check out the Global Channels window, but after Ctrl + G I get an empty window and the following error in the Log:

AggregateException: "One or more errors occurred. (Exception has been thrown by the target of an invocation.)"
    InnerExceptions: "1"
    StackTrace:
        VL.Lang.Platforms.RuntimeHost { public void StepInstances(VL.Lang.Symbols.ITargetCompilation compilation, System.Boolean& hadToKill) { ... } } 
        VL.Lang.Platforms.RuntimeHost { private void SharedStep() { ... } } 

        TypeLoadException: "Type '__AdHocImplementation833__' from assembly '__AdaptiveImplementations.6__, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is attempting to implement an inaccessible interface."
            StackTrace:
                System.Reflection.Emit.TypeBuilder { private static void TermCreateClass(System.Runtime.CompilerServices.QCallModule module, int tk, System.Runtime.CompilerServices.ObjectHandleOnStack type) { ... } } 
                System.Reflection.Emit.TypeBuilder { private System.Reflection.TypeInfo CreateTypeNoLock() { ... } } 
                System.Reflection.Emit.TypeBuilder { public System.Type CreateType() { ... } } 
                VL.AppServices.CompilerServices.AdaptiveImplementationProvider { internal System.Type GenerateStruct(System.Type[] adaptiveInterfaces) { ... } } 
                VL.AppServices.CompilerServices.AdaptiveImplementationProvider { public System.Type GetAdaptiveImplementation(System.Collections.Generic.IEnumerable<System.Type> adaptiveInterfaces) { ... } } 
                VL.AppServices.VLTypeInfo { private System.Reflection.MethodInfo GetConstructorMethod(VL.AppServices.CompilerServices.AdaptiveImplementationProvider adaptiveImplementationProvider) { ... } } 
                VL.AppServices.VLTypeInfo { private System.Func<VL.Core.NodeContext, object> <CreateInstance>g__BuildCreateInstance|43_0(VL.AppServices.CompilerServices.AdaptiveImplementationProvider adaptiveImplementationProvider) { ... } } 
                VL.AppServices.VLTypeInfo { public virtual object CreateInstance(VL.Core.NodeContext context) { ... } } 
                _VL_ImGui_.ImGui.Editors._Operations_ { public static void CreateAdaptiveObjectEditorFactory(VL.Lib.Reactive.IChannel Input_In, VL.ImGui.Editors.IObjectEditorFactory& Output_Out) { ... } } 
                _VL_ImGui_.ImGui.Editors.ObjectEditorFactory_C { public _VL_ImGui_.ImGui.Editors.ObjectEditorFactory_C CreateObjectEditor_(VL.Lib.Reactive.IChannel Channel_In, VL.ImGui.Editors.ObjectEditorContext Context_In, VL.ImGui.Editors.IObjectEditor& Result_Out) { ... } } 
                _VL_ImGui_.ImGui.Editors.ObjectEditorFactory_C { private virtual VL.ImGui.Editors.IObjectEditor VL.ImGui.Editors.IObjectEditorFactory.CreateObjectEditor(VL.Lib.Reactive.IChannel channel, VL.ImGui.Editors.ObjectEditorContext context) { ... } } 
                VL.ImGui.Editors.AbstractObjectEditor { public virtual void Draw(VL.ImGui.Context context) { ... } } 
                _VL_ImGui_.ImGui.Editors.ObjectEditor_Sl6sCYFwyqFQcYSm1ujZFy { public _VL_ImGui_.ImGui.Editors.ObjectEditor_Sl6sCYFwyqFQcYSm1ujZFy Update(VL.ImGui.Context Context_In, VL.Lib.Reactive.IChannel Channel_In, string Label_In, VL.ImGui.IStyle Style_In, bool View_Only_In, VL.ImGui.Editors.IObjectEditorFactory Factory_In, bool Primitive_Only_In, VL.ImGui.Context& Context_Out) { ... } } 
                _VL_CoreLib_HDE_.GlobalChannelsCommand.ChannelBrowser.ChannelView_C { public _VL_CoreLib_HDE_.GlobalChannelsCommand.ChannelBrowser.ChannelView_C DrawContent(VL.ImGui.Context Context_In, VL.ImGui.Context& Context_Out) { ... } } 
                _VL_CoreLib_HDE_.GlobalChannelsCommand.ChannelBrowser.ChannelView_C { public _VL_CoreLib_HDE_.GlobalChannelsCommand.ChannelBrowser.ChannelView_C Update(VL.ImGui.Context Context_In, VL.ImGui.Context& Context_Out) { ... } } 
                _VL_CoreLib_HDE_.GlobalChannelsCommand.ChannelBrowser_IzlXACOp5W6MIGweNUUrcg+<>c__DisplayClass3_0 { internal void <Update>b__2(object stateInput_48, System.Collections.Generic.IReadOnlyList<object> inputs_49, System.Collections.Generic.IReadOnlyList<object> incomingLinks_50, System.Object& stateOutput_52, VL.Lib.Collections.Spread<>& outputs_53) { ... } } 
                VL.AppServices.CompilerServices.CustomRegion.CustomRegionPatch { public virtual VL.Core.PublicAPI.ICustomRegionPatch Update(System.Collections.Generic.IReadOnlyList<object> inputs, VL.Lib.Collections.Spread<>& outputs, System.Collections.Generic.IReadOnlyList<object> incomingLinks) { ... } } 
                _VL_ImGui_.ReGui.ImmediateModeNode_C+<>c__DisplayClass3_0 { internal void <Update>b__0(VL.ImGui.Context Obj_In_51) { ... } } 
                VL.ImGui.Widget { internal void Update(VL.ImGui.Context context) { ... } } 
                VL.ImGui.Widgets.TableCore { internal virtual void UpdateCore(VL.ImGui.Context context) { ... } } 
                VL.ImGui.Widget { internal void Update(VL.ImGui.Context context) { ... } } 
                VL.ImGui.Widgets.RetainedMode { internal virtual void UpdateCore(VL.ImGui.Context context) { ... } } 
                VL.ImGui.Widget { internal void Update(VL.ImGui.Context context) { ... } } 
                _VL_ImGui_.ImGui.Widgets.Table_U87EehxIGc8QEAvDmd4EFM { public _VL_ImGui_.ImGui.Widgets.Table_U87EehxIGc8QEAvDmd4EFM Update(VL.Core.PublicAPI.ICustomRegion Region_In, VL.ImGui.Context Context_In, string Label_In, int Column_Count_In, Stride.Core.Mathematics.Vector2 Size_In, float Inner_Width_In, VL.ImGui.IStyle Style_In, ImGuiNET.ImGuiTableFlags Flags_In, VL.ImGui.Context& Context_Out) { ... } } 
                _VL_CoreLib_HDE_.GlobalChannelsCommand.ChannelBrowser_IzlXACOp5W6MIGweNUUrcg { public _VL_CoreLib_HDE_.GlobalChannelsCommand.ChannelBrowser_IzlXACOp5W6MIGweNUUrcg Update(VL.Lib.Reactive.IChannel<VL.Core.Reactive.IChannelHub> Channel_Hub_Stream_In, VL.Core.AppHost App_Host_In) { ... } } 
                _VL_CoreLib_HDE_.__auto.GlobalChannelsCommand_C+<>c__DisplayClass3_0 { internal void <Update>b__6(object stateInput_92, System.Collections.Generic.IReadOnlyList<object> inputs_93, System.Collections.Generic.IReadOnlyList<object> incomingLinks_94, System.Object& stateOutput_97, VL.Lib.Collections.Spread<>& outputs_98) { ... } } 
                VL.AppServices.CompilerServices.CustomRegion.CustomRegionPatch { public virtual VL.Core.PublicAPI.ICustomRegionPatch Update(System.Collections.Generic.IReadOnlyList<object> inputs, VL.Lib.Collections.Spread<>& outputs, System.Collections.Generic.IReadOnlyList<object> incomingLinks) { ... } } 
                _CoreLibBasics_.Primitive.ManageProcess_KbnPKKIL8zRNfOzhFqxVxr { public _CoreLibBasics_.Primitive.ManageProcess_KbnPKKIL8zRNfOzhFqxVxr Update(VL.Core.PublicAPI.ICustomRegion Region_In, bool Enabled_In, VL.Lib.Primitive.ProcessLifespan Lifespan_In, bool Reset_In) { ... } } 
                _VL_CoreLib_HDE_.__auto.GlobalChannelsCommand_C+<>c__DisplayClass3_0 { internal void <Update>b__4(object stateInput_78, System.Collections.Generic.IReadOnlyList<object> inputs_79, System.Collections.Generic.IReadOnlyList<object> incomingLinks_80, System.Object& stateOutput_84, VL.Lib.Collections.Spread<>& outputs_85) { ... } } 
                VL.AppServices.CompilerServices.CustomRegion.CustomRegionPatch { public virtual VL.Core.PublicAPI.ICustomRegionPatch Update(System.Collections.Generic.IReadOnlyList<object> inputs, VL.Lib.Collections.Spread<>& outputs, System.Collections.Generic.IReadOnlyList<object> incomingLinks) { ... } } 
                _VL_ImGui_.ReGui.ImmediateModeNode_C+<>c__DisplayClass3_0 { internal void <Update>b__0(VL.ImGui.Context Obj_In_51) { ... } } 
                VL.ImGui.Widget { internal void Update(VL.ImGui.Context context) { ... } } 
                VL.ImGui.ToSkiaLayer { public VL.Skia.ILayer Update(VL.ImGui.Widget widget, bool dockingEnabled, VL.Lib.Collections.Spread<VL.ImGui.FontConfig> fonts, VL.ImGui.IStyle Style) { ... } } 
                _VL_ImGui_Skia_.Graphics.Skia.Layer.ImGui_Pb0jmhYedzLP452JM5MUGn { public _VL_ImGui_Skia_.Graphics.Skia.Layer.ImGui_Pb0jmhYedzLP452JM5MUGn Update(VL.Core.PublicAPI.ICustomRegion Region_In, bool Docking_Enabled_In, VL.Lib.Collections.Spread<VL.ImGui.FontConfig> Fonts_In, bool Add_Fullscreen_Window_In, VL.ImGui.IStyle Style_In, bool Use_Skia_Space_In, VL.Skia.ILayer& Output_Out) { ... } } 
                _VL_CoreLib_HDE_.__auto.GlobalChannelsCommand_C+<>c__DisplayClass3_0 { internal void <Update>b__2(object stateInput_35, System.Collections.Generic.IReadOnlyList<object> inputs_36, System.Collections.Generic.IReadOnlyList<object> incomingLinks_37, System.Object& stateOutput_46, VL.Lib.Collections.Spread<>& outputs_47) { ... } } 
                VL.AppServices.CompilerServices.CustomRegion.CustomRegionPatch { public virtual VL.Core.PublicAPI.ICustomRegionPatch Update(System.Collections.Generic.IReadOnlyList<object> inputs, VL.Lib.Collections.Spread<>& outputs, System.Collections.Generic.IReadOnlyList<object> incomingLinks) { ... } } 
                _CoreLibBasics_.Primitive.ManageProcess_KbnPKKIL8zRNfOzhFqxVxr { public _CoreLibBasics_.Primitive.ManageProcess_KbnPKKIL8zRNfOzhFqxVxr Update(VL.Core.PublicAPI.ICustomRegion Region_In, bool Enabled_In, VL.Lib.Primitive.ProcessLifespan Lifespan_In, bool Reset_In) { ... } } 
                _VL_CoreLib_HDE_.__auto.GlobalChannelsCommand_C { public _VL_CoreLib_HDE_.@__auto.GlobalChannelsCommand_C Update() { ... } } 
                _VL_CoreLib_HDE_.__auto.VL_CoreLib_HDEApplication_CwxilPDZIvCNDJ58BuMf1f { public _VL_CoreLib_HDE_.@__auto.VL_CoreLib_HDEApplication_CwxilPDZIvCNDJ58BuMf1f Update() { ... } } 

        TargetInvocationException: "Exception has been thrown by the target of an invocation."
            StackTrace:
                System.RuntimeMethodHandle { internal static object InvokeMethod(object target, System.Span<>& arguments, System.Signature sig, bool constructor, bool wrapExceptions) { ... } } 
                System.Reflection.RuntimeMethodInfo { public virtual object Invoke(object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture) { ... } } 
                VL.Lang.Platforms.RuntimeInstance { public void Step(VL.Lang.Symbols.ITargetCompilation compilation) { ... } } 
                VL.Lang.Platforms.RuntimeHost { public void StepInstances(VL.Lang.Symbols.ITargetCompilation compilation, System.Boolean& hadToKill) { ... } }

Any chance you can share a patch with us?

Same just happened to me in a entirely different patch.
I wasn’t even doing anything in the Channel window, but I think the last thing I did was trying to write something to a GlobalChannel on Create …

+1

Just had the exact same problem and the same error in the log.
The UI of the channel window also remains broken for this patch now even in a different gamma version and after restart. However, the channel window still looks normal for the help patch for example.

Thanks. @timpernagel sent us the patch and upcoming build (228) will contain a fix for it. Not sure whether that fix also applies to @readme and @maxs. Please test the upcoming build and report back if it works for you or not.

1 Like