Unity にメタマスクを実装するためにThirdweb を使ったときのNewtonsoftに関するエラー
公開日:
:
Unity
私の環境
・Windows 10
・Unity 2021.3.4f1
エラーについて
Unityのアプリケーションをメタマスクでログインするには、Thirdwebを使えば簡単に実装できます。
この記事を見ながら、やってみました。
https://zenn.dev/yuki2020/articles/2093d6573202ea
しかし、
私の環境だけのことかもしれませんが、
記事に記載のSDKをインポートすると、
こんなエラーが出て立ち往生。
Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included on the current platform. Only one assembly with the same name is allowed per platform. (D:/unity/CatMusium-NFT/Library/PackageCache/com.unity.nuget.newtonsoft-json@3.0.2/Runtime/Newtonsoft.Json.dll)
Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included on the current platform. Only one assembly with the same name is allowed per platform. (Assets/Thirdweb/Plugins/Newtonsoft 3.0.2/Runtime/Newtonsoft.Json.dll)
PrecompiledAssemblyException: Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included on the current platform. Only one assembly with the same name is allowed per platform.
解決方法
ググっても分からなかったので、
ThirdwebのDiscordで調べると
以下のフォルダごと削除したらいいとのことでした。
Assets > Thirdweb > Plugins > Newtonsoft 3.0.2
以上です。
ad
- Tweet
-
-
この記事が気に入りましたら、ぜひTwitter、facebookボタンをお願いします。
ブログを書くモチベーションになります。よろしくお願いします。
ビットコイン投げ銭ウィジェット
関連記事
-
-
blenderからUnity用のテクスチャ付きのFBXをエクスポートする方法
毎回悩むので備忘録 バージョン: blender 3.3.0 blender フ
-
-
cluster + PLATEAU でバーチャル花火大会を開催する方法
2021年9月25日、コロナがなければ、リアルの呉の花火大会があるはずだった日に、clus
-
-
Unity の背景色を変えたい
何度も忘れるので、備忘録に。 Unityのウィンドウの背景色は、黒(画像左)と灰色(画像右)があ
-
-
『PLATEAU』の都市3DデータをバーチャルSNS『cluster』にアップロードしてみた
国土交通省が主導するプロジェクト『PLATEAU』 に福山市のデータが公開されたと知り、さっ
-
-
「1日で迷路ゲームを作ってみよう!」というUnityの勉強会に参加しました
今日は、 「1日で迷路ゲームを作ってみよう!」 http://bit.ly/1qHETE2