-
Type: Bug
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: 2.23.1
-
Component/s: None
-
None
I am experiencing an issue in Unity where multiple instances of the mongocrypt plugin from the MongoDB.Libmongocrypt package are causing conflicts. The specific error message is: "Multiple plugins with the same name 'mongocrypt' (found at 'Assets/Packages/MongoDB.Libmongocrypt.1.8.0/content/mongocrypt.dll' and 'Assets/Packages/MongoDB.Libmongocrypt.1.8.0/Sources/mongocrypt.dll'). That means one or more plugins are set to be compatible with Editor. Only one plugin at the time can be used by Editor."
Steps to Reproduce:
- Add MongoDB Driver to Unity project (including.Libmongocrypt)
- Observe the resulting error in the Unity Editor console.
Expected Behavior: A single instance of the mongocrypt plugin should be loaded without causing any conflicts in the Unity Editor.
Actual Behavior: Multiple instances of the mongocrypt plugin are detected, causing an error in the Unity Editor.
Environment:
- Unity Version: 2023.3.0a14
- MongoDb Driver 2.23.1
- MongoDB.Libmongocrypt Version: 1.8.0
- Operating System: W10
Additionally, I would like to seek advice on which of the two mongocrypt.dll files can be safely removed without impacting the functionality of the MongoDB driver. The duplicated files are located at '…/MongoDB.Libmongocrypt.1.8.0/contentl' and '…/MongoDB.Libmongocrypt.1.8.0/Sources'. Any guidance on resolving this duplication issue without affecting the driver's operation in Unity would be greatly appreciated.
- depends on
-
CSHARP-4711 Implement 3.0 release
- Development Complete