Skip to content

.net 6 target for manged GenAI #27357

@PrestigeDevop

Description

@PrestigeDevop

Describe the issue

Hi , I was able to -somehow - add GenAI to unity back then, but when testing new futures with mulitmodal APIs , it failed to load the dlls, due to some restriction on the build target as far as I know, unity support the standard 2.1 for most parts, and most of .net 6 BCL [not sure yet]
now when I try to update my project, it failed with this message:

Image

and sometimes, it failed to load the managed AI .dll completely (even if I can reference some namespace)

so my question is can I or anyone who would like to help building form source or try to port these to compatible unity runtime ? thanks .

To reproduce

download the mangedGenAI dlls , and load it to unity .

script works just fine but at runtime it failed even if I change the scripting backend

Urgency

No response

Platform

Windows

OS Version

0

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

0.12.0

ONNX Runtime API

C#

Architecture

X64

Execution Provider

Other / Unknown

Execution Provider Library Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net codeapi:CSharpissues related to the C# API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions