Unity3dSimpleSample icon indicating copy to clipboard operation
Unity3dSimpleSample copied to clipboard

Assembly DLL name is reserved for internal use

Open col000r opened this issue 4 years ago • 3 comments

Getting this error in Unity 2018.4.16f1: Assembly DLL name is reserved for internal use: Assets/Plugins/UnityEngine.dll (did files generated by a build accidentally end up in your Assets/ folder?)

col000r avatar Jun 17 '20 03:06 col000r

Are you using the latest with the sample? Remove the UnityEngine.dll it is output as part of the build.

juanfranblanco avatar Jun 17 '20 04:06 juanfranblanco

I just downloaded the zip and opened it in 2018.4.16f1. If I delete UnityEngine.dll, then I get Assets/EtherTransfer.cs(32,27): error CS1729: The type 'Nethereum.JsonRpc.UnityClient.EthTransferUnityRequest' does not contain a constructor that takes '2' arguments

col000r avatar Jun 17 '20 06:06 col000r

Yes the sample needs updating to the latest version, but nothing major, you just need supply your chainId (if wanted) like mainnet = 1 or a null value https://github.com/Nethereum/Nethereum/blob/master/src/Nethereum.Unity/EthTransferUnityRequest.cs#L11

juanfranblanco avatar Jun 17 '20 09:06 juanfranblanco