(:3[kanのメモ帳]

個人ゲーム開発者kan.kikuchiのメモ的技術ブログ。月木更新でUnity関連がメイン。

(:3[kanのメモ帳]


本ブログの運営者kan.kikuchiが個人で開発したゲームです!

    

Package ManagerにError refreshing assetsとエラーが出てアセットが何も表示されない場合の対処法【Unity】


このエントリーをはてなブックマークに追加


この記事でのバージョン
Unity 2022.3.16f1


はじめに

今回は PackageManagerでアセットストアのアセットを表示しようとした際に、

Error refreshing assetsとエラーが出てアセットが何も表示されなかった時の話です!



対処法

このエラーについて、公式のドキュメントには以下のようにあります。

Error refreshing assets (or Error refreshing packages)

If your network can’t reach the package registry server, it’s probably because there is a connection problem with the network. When you or your system administrator diagnose and fix the network error, the status bar clears.

If your network connection is working, but you aren’t signed into your Unity account, the Package Manager doesn’t display any Asset Store packages. When you try to use the My Assets context, the Package Manager displays an error in the status bar:

Click the Sign in button inside the list view to sign into your Unity account through the Unity Hub.

アセット更新エラー (またはパッケージ更新エラー)

ネットワークがパッケージレジストリサーバに到達できない場合、ネットワーク接続に問題がある可能性があります。あなたかシステム管理者がネットワークエラーを診断して修正すると、ステータスバーがクリアされます。

ネットワーク接続は機能しているが、Unityアカウントにサインインしていない場合、パッケージマネージャにはアセットストアのパッケージが表示されません。マイアセットコンテキストを使用しようとすると、パッケージマネージャのステータスバーにエラーが表示されます:

リストビュー内のサインインボタンをクリックして、Unity HubからUnityアカウントにサインインします。

DeepL翻訳


しかし、もちろんネットワーク接続は出来ていますし、Unityアカウントへのサインインもしていました。


結局、Unity Hub(Unityではなく)を再起動するとエラーが解消され、アセットも表示されました。