A clear and concise description of what the bug is.
in 2.1 standard apps ( that doesn't use .net 8 )
to be exact (Unity engine)
TypeLoadException: VTable setup of type unity.SemanticKernel.Connectors.OnnxRuntimeGenAI.OnnxRuntimeGenAIChatCompletionService failed
however I manged to inference directly using onnxGenAI manged library .
but when using semantic kernel I got this error and no luck with assembly .load dynamically or using assembly definition.
compile the dlls , and put it into unity asset folder .
error occur .
this probably due to the compiler having some issue loading the dll at runtime ?
or perhaps because my edits ...
Additional context
after some adjustment trying and exporting again .. I got this
InvalidOperationException: Build is not permitted on instances returned from AddKernel. Resolve the Kernel from the service provider Microsoft.SemanticKernel.KernelExtensions.Build
I think I couldn't load it natively without any edits and I'm not expert in the scaffold process , so I hope someone have some ideas about this message .
Describe the bug
A clear and concise description of what the bug is.
in 2.1 standard apps ( that doesn't use .net 8 ) to be exact (Unity engine)
TypeLoadException: VTable setup of type unity.SemanticKernel.Connectors.OnnxRuntimeGenAI.OnnxRuntimeGenAIChatCompletionService failed
however I manged to inference directly using onnxGenAI manged library . but when using semantic kernel I got this error and no luck with assembly .load dynamically or using assembly definition.
To Reproduce Steps to reproduce the behavior:
error occur .
this probably due to the compiler having some issue loading the dll at runtime ? or perhaps because my edits ...
Additional context
after some adjustment trying and exporting again .. I got this
InvalidOperationException: Build is not permitted on instances returned from AddKernel. Resolve the Kernel from the service provider Microsoft.SemanticKernel.KernelExtensions.Build
I think I couldn't load it natively without any edits and I'm not expert in the scaffold process , so I hope someone have some ideas about this message .