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ボタンをお願いします。
ブログを書くモチベーションになります。よろしくお願いします。
ビットコイン投げ銭ウィジェット
関連記事
-
-
Unity とPLATEAUでカッコいいアニメーション動画を作る
9月17日・18日福岡で開催されたハッカソン「PLATEAU Hack Challenge 20
-
-
PLATEAUのデータをテクスチャをつけてメタバースclusterにアップする方法
はじめに 今更ですが PLATEAUの出始めのころはLOD1には地面や建物にテクスチャがなく、豆腐と
-
-
【Unity備忘録】オブジェクトに近づくと音量が大きくなり、離れると小さくなる
Inspector で以下を設定 Spatial Blend を 1に 3D Sound Se
-
-
「1日で迷路ゲームを作ってみよう!」というUnityの勉強会に参加しました
今日は、 「1日で迷路ゲームを作ってみよう!」 http://bit.ly/1qHETE2
-
-
【cluster】クリックすると何かが表示(非表示)されるオブジェクトの作り方
表示 Cube を押すと、なにかオブジェクトが現れる。 Cube側 現れる側
_edited-11.png)