8000 failed to extract some platform-specific .nupkg file (@ pr #658) · Issue #655 · GlitchEnzo/NuGetForUnity · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
failed to extract some platform-specific .nupkg file (@ pr #658)  #655
Open
@cyanial

Description

@cyanial

Description

[Describe the issue you have. If applicable provide logs produced by enabling verbose logging in the NuGetForUnity settings.]

  • NuGet Package: MongoDB.Driver 2.26.0
  • NuGetForUnity Version: 4.1.1
  • Unity Version: 2021.3
  • Operating System: MacOS

Related Problem

  • What lib: MongoDB.Libmongocrypt in MongoDB.Driver.
    When I install MongoDB.Driver, it depends one MongoDB.libmongocrypt. The MongoDB.libmongocrypt is platform specific, it has osx/linux/win (dylib, so, dll).

https://www.nuget.org/packages/MongoDB.Libmongocrypt

When NuGetForUnity extract that .nupkg file, it extract two libmongocrypt.dylib on macos, one from content and one from contentFiles.

I can manually delete one of these duplicated dylib and it works.

Now i want to know how to fix this. I've read the code about extracting .nupkg. But i can not know how to fix, or it will cause other lib dont work if i change the code.

Fix duplicated .nupkg extract in some lib (MongoDB.libmongocrypt) . I want to fix this but don't know how to do.

Additional Context and Details

Multiple plugins with the same name 'libmongocrypt' (found at 'Assets/Packages/MongoDB.Libmongocrypt.1.8.2/Sources/libmongocrypt.dylib' and 'Assets/Packages/MongoDB.Libmongocrypt.1.8.2/content/libmongocrypt.dylib'). That means one or more plugins are set to be compatible with Editor. Only one plugin at the time can be used by Editor.

截屏2024-06-14 16 53 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0