emergenceland / mud-template-unity

MUD project template - Unity
MIT License
16 stars 4 forks source link

Multiple precompiled assemblies with the same name Nethereum.Contracts.dll included or the current platform #2

Open hymDavian opened 1 year ago

hymDavian commented 1 year ago

Unity prompts that there cannot be two DLLs with the same name. However, if I try to delete either, it will result in an error

hymDavian commented 1 year ago

Unity logError: Multiple precompiled assemblies with the same name Nethereum.Contracts.dll included or the current platform. Only one assembly with the same name is allowed per platform. (../mud-template-unity/packages/client/Library/PackageCache/com.emergenceland.unimud@555dfde4e7/Plugins/Nethereum.Contracts.dll)

hymDavian commented 1 year ago

There is also a Nethereum. Contracts folder in the Plugins folder of Assets

neilsonnn commented 1 year ago

Are you using any other web3 packages in the project?

hymDavian commented 1 year ago

Currently, this program has only been opened through Unity2020.3.3 version, and no other actions have been taken yet

neilsonnn commented 1 year ago

Would recommend you upgrade to the 2022 LTS version of Unity, not getting this error on a fresh install

hymDavian commented 1 year ago

I have upgraded my engine to 2022.1.9f1, but this issue still occurs

hymDavian commented 1 year ago

But.In the 2022 version, I deleted these two DLLs with the same name in Assets and will not report any errors