[CSHARP-4896] Duplicate mongocrypt Plugins in Unity Causing Editor Conflicts Created: 27/Dec/23 Updated: 08/Jan/24 |
|
| Status: | Investigating |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 2.23.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Stefan Lehnert | Assignee: | James Kovacs |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
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:
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:
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. |
| Comments |
| Comment by PM Bot [ 27/Dec/23 ] |
|
Hi stefan.lehnert@studmail.htw-aalen.de, thank you for reporting this issue! The team will look into it and get back to you soon. |