TAKOYAKING’s blog 一覧

TAKOYAKING’s blog

たこ焼き系

Unity: 「currentFileSystemTime.ticks != 0 using check file Temp/FSTimeGet-1938f0a485be842559ab99e8c24e87d2 => /Temp/FSTimeGet-1938f0a485be842559ab99e8c24e87d2 (file exists no, folder exists no)」

状況

Unityを2020.3からあげると以下のようなエラーが定期的に出てくるようになりました。

currentFileSystemTime.ticks != 0 using check file Temp/FSTimeGet-1938f0a485be842559ab99e8c24e87d2 => /Temp/FSTimeGet-1938f0a485be842559ab99e8c24e87d2 (file exists no, folder exists no)

エラーが出ているのですが、ビルドもできるし、再生ボタンも押せるし、問題なく動作するので害はなさそうです。

原因

Unityをアップデートしたときに、TempやLibraryフォルダを削除したので、その影響かもしれません。

解決策

How Do I Know If My Unity Project is Corrupted? - Questions & Answers - Unity Discussions
この記事にある通り、以下を実行しました。

  • Libraryフォルダを削除
  • Unity再起動

これで解決しました!