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 Hub の画面が真っ黒でうんともすんとも言わなくなった
環境: ・Macbook PRO(2021)・macOS Monterey・UnityHub バ
-
blenderからUnity用のテクスチャ付きのFBXをエクスポートする方法
毎回悩むので備忘録 バージョン: blender 3.3.0 blender フ
-
生成AIで作ったキャラクターをLive2Dで加工しUnityで動かす(まばたき、話す)
ChatGPT(DALL-E3)で作ったキャラクターをもとに、ChatGPTでセリフを作り、Li
-
「1日で迷路ゲームを作ってみよう!」というUnityの勉強会に参加しました
今日は、 「1日で迷路ゲームを作ってみよう!」 http://bit.ly/1qHETE2
-
cluster + PLATEAU でバーチャル花火大会を開催する方法
2021年9月25日、コロナがなければ、リアルの呉の花火大会があるはずだった日に、clus