Closed tomkail closed 1 year ago
I have not added any additional new libraries to the package, so this is likely an issue with the AWS package.
Even if you downgrade you'll likely be losing out on current features.
I think your best bet is to just remove the libraries in the other package, and maybe embed a modified version in your project.
Do you have a link to the other package? I can take a look at what they have.
Hit me up on Discord for a faster response 😄
Thanks! The AWS DLLs can be found here: https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/net-dg-obtain-assemblies.html (you need the 2.0 versions for Unity) I'm tomkail#6884 on Discord - I'll try you now, what's your username?
I'm unable to build on latest due to the following error:
Library/PackageCache/com.openai.unity@0fe2225f7f/Runtime/Completions/CompletionsEndpoint.cs(269,16): error CS0433: The type 'IAsyncEnumerable<T>' exists in both 'Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
I believe this is because the Amazon AWS API that exists in our Assets folder includes Microsoft.Bcl.AsyncInterfaces.cs. I'm actually not sure how to get around this! I can't work out how to use UPM to downgrade to an earlier version of this package either.
Sorry to submit a bug that I suspect has nothing directly related to your package - but I'd be interested to hear if you know the solution, especially since I'd imagine using AWS and OpenAI isn't an uncommon use case.