Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unity and NuGet package is still at version 2.6.0 at in release 3.0.0 and later #113

Open
Niels-NTG opened this issue Oct 18, 2023 · 1 comment

Comments

@Niels-NTG
Copy link

Describe the bug
The GeneticSharp.unitypackage file included in the releases for 3.0.0, 3.1.2 and 3.1.4 are identical to release version 2.6.0. Likewise the latest version listed on NuGet is still 2.6.0.

To Reproduce
Go to the releases page, download the GeneticSharp.unitypackage included in 3.1.4. When importing this package in a Unity project that already has Genetic Sharp 2.6.0, Unity will show a dialog that this package is already present. When adding the package to an empty project, inspecting the DLL in an editor such Rider it shows the version number 2.6.0.

Expected behavior
I expect that the assets included on the releases for 3.0.0 and later are of the version indicated. Likewise I expect the available versions on NuGet to include the latest release.

@Niels-NTG
Copy link
Author

Ah, I now understand this is due UnityNuGet using a curated list of NuGet packages, which excludes GeneticSharp 3.0.0 and later "since as of that version it only targets .NET 6.0" (source: xoofx/UnityNuGet#148).

I'm no .NET expert, but is GeneticSharp v3 targeting .NET 6.0 an issue for Unity? Or does that apply only to certain older versions of Unity?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant