1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Unity2022】error CS0006 Metadata file 'Library/PackageCache/ ~.dll' could not be found. のエラーの解決策

Posted at

エラーが起きた手順と内容

UnityHub の New Project から 3D(Build-In Render Pipeline) を選択してプロジェクトを新規作成すると,以下のエラーがconsoleに出現

error CS0006: Metadata file 'Library/PackageCache/com.unity.collab-proxy@2.6.0/Lib/Editor/PlasticSCM/log4netPlastic.dll' could not be found
error CS0006: Metadata file 'Library/PackageCache/com.unity.collab-proxy@2.6.0/Lib/Editor/PlasticSCM/Unity.Plastic.Antlr3.Runtime.dll' could not be found
error CS0006: Metadata file 'Library/PackageCache/com.unity.collab-proxy@2.6.0/Lib/Editor/PlasticSCM/Unity.Plastic.Newtonsoft.Json.dll' could not be found

解決策

Unityを一度落として,Libraryフォルダを削除する.
UnityHubから再度プロジェクトを起動する.
キャッシュが再構成されると治った.

実行環境(参考)

  • Unity Hub 3.10.0
  • Unity Editor 2022.3.11f1
  • Windows10 22H2

所感

今まではこんなエラーは出現していなかったので,UnityHubのアップデートによる問題?なのかと思っています.

参考

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?