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

Compilation Error in Unity 6000 #141

Open
Podden opened this issue Oct 23, 2024 · 4 comments
Open

Compilation Error in Unity 6000 #141

Podden opened this issue Oct 23, 2024 · 4 comments
Assignees

Comments

@Podden
Copy link

Podden commented Oct 23, 2024

Seems there are some changes in PackageManager API again :(.

Library\PackageCache\com.coffee.upm-git-extension\Editor\Coffee.UpmGitExtension\GitPackageDataBase.cs(120,30): error CS1501: No overload for method 'GetPackageAndVersion' takes 4 arguments

@mob-sakai
Copy link
Owner

Thank you for your reporting!

@mob-sakai
Copy link
Owner

Unfortunately, Unity 6 doesn’t seem to come bundled with Node.js...
Even if compilation errors are resolved, it still won’t work.
I think we’ll need to rebuild the git process using .NET.

@mob-sakai mob-sakai self-assigned this Oct 29, 2024
@Podden
Copy link
Author

Podden commented Nov 7, 2024

Seems they fiddled around again. I still did not find a good place where unity reports their API changes for the package manager. With Unity 6000.0.25f, it's now:
\UpmGitExtension\Editor\Coffee.UpmGitExtension\Extensions\PackageExtensions.cs(41,57): error CS7036: There is no argument given that corresponds to the required formal parameter 'installedInfo' of 'UpmVersionList.UpmVersionList(PackageInfo, PackageInfo, RegistryType, PackageTag, bool, Dictionary<string, PackageInfo>)'

UpmVersionList's constuctor seems to have changed and only accepts stuff I'm not familiar with:

  public UpmVersionList(
      UnityEditor.PackageManager.PackageInfo searchInfo,
      UnityEditor.PackageManager.PackageInfo installedInfo,
      RegistryType availableRegistry,
      PackageTag tagsToExclude,
      bool loadAllVersions,
      Dictionary<string, UnityEditor.PackageManager.PackageInfo> extraInfos = null)
    {

Also this:
'PackageTag' does not contain a definition for 'VersionLocked'

@shayLivingPixels
Copy link

Bummer it doesn't work with Unity 6. At least the rest of the fantastic plugins still work.

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

3 participants