GlitchEnzo / NuGetForUnity

A NuGet Package Manager for Unity
MIT License
3.25k stars 319 forks source link

Selecting version did not work for a prerelease package #634

Closed NITechLabs closed 7 months ago

NITechLabs commented 7 months ago

Issue with installing latest version, selects oldest automatically. Update does not work.

After selecting Prerelease and searching for Azure.AI.OpenAI I want to select beta.15. But after selecting and pressing Install it installs beta.2. Update then shows beta.9 as option but that does not install as it (no longer?) does not exist! Beta.2 does not have the required functionality. How can I make sure NuGetForUnity will install the latest version?

JoC0de commented 7 months ago

Hi @NITechLabs Thanks for creating the issue. I think this was fixed in #610, that is not included in 4.0.2. We probably should release a new version that contains the fix. Untill we release a new version you can install the master version using the git-url install method.

NITechLabs commented 7 months ago

When I try the git-url install in Unity (2022.3.20) by copying the git url on the code page, Unity reports an error:

[Package Manager Window] Error adding package: https://github.com/GlitchEnzo/NuGetForUnity.git. Unable to add package [https://github.com/GlitchEnzo/NuGetForUnity.git]: [https://github.com/GlitchEnzo/NuGetForUnity.git] does not point to a valid package. No package manifest was found.

Do you perhaps know how to fix this?

I fixed the OpenAI library install by adding it in Visual Studio, then copying that dll to the Plugins folder of my Unity project. Wroks but not very pretty :-)

igor84 commented 7 months ago

Please read the Install as GIT dependency via Package Manager section in Readme.

JoC0de commented 7 months ago

I released 4.1.0