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ボタンをお願いします。
ブログを書くモチベーションになります。よろしくお願いします。
ビットコイン投げ銭ウィジェット
関連記事
-
-
43歳の素人プログラマーのオッサンがUnityでゲームを作ってみた(第3弾:ゾンビ系ゲーム「TERADA HAZARD」)
中年の素人のオッサンがUnityという開発ツールを使って、 ゲームを作るシリーズ第3弾です。 さて
-
-
UnityからMetaQuest3 へビルドする方法
8ヶ月ぶりのブログ。 こんなに空いたのは、今までなかったと思う。 MetaQuest3にUnityか
-
-
【iPhoneアプリ開発備忘録】 UnityからiPhoneに転送後、BGMや効果音が出なくなった時の解決策
Unityで作ったゲームをiPhone実機に転送した時、BGMや効果音が出なくてハマりま
-
-
VRMをBlenderでFBXに変換したあとUnityにインポートすると倒れている問題の解決方法
環境 ・Blender 2.82 ※Cats Blender Plugin インストール済み
-
-
VRChat にワールドをアップロードする方法
参考サイト(公式) https://docs.vrchat.com/docs/creating-
_edited-11.png)