VL.Devices.Kinect2 broken in 2022.5-0-0310

Tried to install the nuget VL.Devices.Kinect2 with vvvv gamma 2022.5.0-310 for some tests. After the first installation of the nuget vvvv crashes without any hint. After reopening the file and enabling the Kinect2 dependency follwing error messages pops up.

Error Message 2022.5

Could not load file or assembly ‘Microsoft.Kinect, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (0x80131058)
at VL_Devices_Kinect2_HDE.Devices.Kinect2.HDE.Operations.RegisterServices_H(IVLFactory Factory_In)
at VL_Devices_Kinect2_HDE.S3BYXYbBcOQLrAesdzH6KEInitializer.RegisterServices(IVLFactory factory) in C:\Users\nils.weger\AppData\Local\vvvv\gamma-preview\nugets\VL.Devices.Kinect2.1.2.1\VL.Devices.Kinect2.HDE.vl__Initializer__.cs:line 19
at VL.Core.CompilerServices.AssemblyInitializer.DoRegister(IVLFactory factory)
at VL.Core.CompilerServices.AssemblyInitializer.InitInternalFactory(IInternalVLFactory factory)
Could not load file or assembly ‘Microsoft.Kinect, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (0x80131058)
at VL_Devices_Kinect2_HDE.Devices.Kinect2.HDE.Operations.RegisterServices_H(IVLFactory Factory_In)
at VL_Devices_Kinect2_HDE.S3BYXYbBcOQLrAesdzH6KEInitializer.RegisterServices(IVLFactory factory) in C:\Users\nils.weger\AppData\Local\vvvv\gamma-preview\nugets\VL.Devices.Kinect2.1.2.1\VL.Devices.Kinect2.HDE.vl__Initializer__.cs:line 19
at VL.Core.CompilerServices.AssemblyInitializer.DoRegister(IVLFactory factory)
at VL.Core.CompilerServices.AssemblyInitializer.InitInternalFactory(IInternalVLFactory factory)
ReflectionTypeLoadException: “Unable to load one or more of the requested types.
Could not load file or assembly ‘Microsoft.Kinect, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (0x80131058)
Could not load file or assembly ‘Microsoft.Kinect, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (0x80131058)
Could not load file or assembly ‘Microsoft.Kinect, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (0x80131058)”
StackTrace:
System.Reflection.RuntimeModule { private static System.RuntimeType[] GetTypes(System.Reflection.RuntimeModule module) { … } }
System.Reflection.Assembly { public virtual System.Type[] GetTypes() { … } }
VL.Core.CompilationHelper { public static void SwapAssembly(System.Reflection.Assembly assembly, int pass) { … } }

AggregateException: “One or more errors occurred. (Unable to load one or more of the requested types.
Could not load file or assembly ‘Microsoft.Kinect, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (0x80131058)
Could not load file or assembly ‘Microsoft.Kinect, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (0x80131058)
Could not load file or assembly ‘Microsoft.Kinect, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (0x80131058))”
InnerExceptions: “1”
StackTrace:
VL.HDE.PatchEditor.NavigationMenuProvider+d__45 { private virtual void MoveNext() { … } }
System.Runtime.ExceptionServices.ExceptionDispatchInfo { public void Throw() { … } }
System.Runtime.CompilerServices.TaskAwaiter { private static void ThrowForNonSuccess(System.Threading.Tasks.Task task) { … } }

Stopping VL.HDEApplication

Stopping VL.Preview.HDEApplication

Works in preview 2021.4.11-1331

kinect2

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.