Search Issue Tracker

Third Party Issue

Votes

1

Found in

2021.2

2021.2.0b13

2022.1

Issue ID

1369700

Regression

No

[Windows] [Shader System] Shader Compiler throws IPC Exception on Windows version of Editor

Shader System

-

How to reproduce:
1. Open the attached user's project 'crest.zip'
2. Press on the water/pink texture in the Scene view

Expected results: The console does not show any errors and no pink textures appear in the Scene
Actual results: The console shows Shader Compiler IPC Exception error and water texture is pink in the Scene

Reproducible with: 2021.2.0a9, 2021.2.0b16, 2022.1.0a12
Could not test with: 2019.4.31f1, 2020.3.20f1, 2021.1.24f1, 2021.2.0a8 (scripting errors)

Notes:
- Not reproducible on macOS editor
- Reproducible on Windows editor
- Texture issue does not reproduce on Windows build

  1. Resolution Note (2022.1.X):

    The shader happens to cause a crash in Microsoft DirectX shader compiler (FXC), which unfortunately is a black box to us. Fortunately it seems to happen only when #pragma enable_d3d11_debug_symbols is enabled in the shader.
    For a workaround just remove or comment out this pragma line in the .shader file.
    NOTE: It is not possible to disable pragmas using preprocessor conditionals. The shader in this bug report falsely assumes it would be possible.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.