0
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?

D3Dcompiler_47.DLLが読み取れず、プロジェクトが開かないエラーの解消

Posted at

Fatal Error! 2025_10_28 11_46_52 1.png
Unityプロジェクトを開こうとするとこのようなダイアログが…

【エラー文 / 和訳】

FatalError!
致命的エラー!

Shader compiler intialization error:
シェーダーコンパイラの初期化エラー:

Failed to read D3D Compiler DLL file
D3DCompilerDLLタイルの読み取りに失敗

Something is preventing access to D3DCompiler_47.dll.
何かしらの理由でD3DCompiler_47.dllへのアクセスが妨げられている。

Check your Editor installation integrity,file access rights and antivirus configuration.
「エディタのインストールの整合性」「ファイルへのアクセス権限」「ウイルス対策構成」を確認してみて。

【同じエラーで悩んでいる人いた】

調べてみた感じ、おそらくUnityEditorバージョンは合ってそう。
ファイルへのアクセス権限も大丈夫。
てことは「ウイルス対策構成」かな?

【解決法】

ウイルス対策ソフト『360 Total Security』がゲームの実行に必要な特定のDLLを、リアルタイム保護機能が脅威だと誤検知しロックしていたということが発覚。
ウイルス検知をオフにすることでこのエラーは修正。

【別のエラーが出てきた】

画像.png

【エラー文 / 和訳】

Fatal Error!
致命的エラー!

Shader compiler intialization error:
シェーダーコンパイラの初期化エラー:

Failed to load
ロードの失敗

DLL:not a 64 bit DLL
DLL:64bitのDLLではない

【解決法】

DLLが自身のアーキテクチャ(64bit)と合っていないために起こっているので、64bitのDLLを入れましょう。

https://www.dll-files.com/d3dcompiler_47.dll.html
こちらからDLLをDLし、
Unityエディターがあるディレクトリ
(例: C:\Program Files\Unity\Hub\Editor<version>\Editor\Data\Tools)
に移動し、DLしたDLLを格納。既存のDLLがあったら上書く。

⚠️アーキテクチャ:64bitを選びましょう!

以上!

0
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
0
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?