Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.5.0b2
Issue ID
830427
Regression
Yes
Shader no longer compiles with internal error
The shader PkFxDepthCopy no longer compiles for GLES3, Metal and OpenGLCore (and vulkan, apparently) after switching from Unity 5.4 to Unity 5.5 and gives the error :
"Shader compiler: internal error compiling shader snippet type=[0|1] platform=<platform_id>: Protocol error - failed to read correct magic number"
To reproduce:
1. Open attached project
2. Select the shader in Resources/PkFxDepthCopy
3. In the inspector, drop down on the "Compile and show code", make sure one of the problematic APIs is selected
4. Click "compile and show code"
Expected Result: Shader should compile without errors
Reproducible: 5.5.0b3
Regression from 5.4.1f1
Comments (12)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Memory leak warnings are constantly thrown when Generating Font Atlas in Font Asset Creator with 4096x8192 Atlas Resolution
- “Glyph rendering has been aborted due to sampling point size” Log is printed and Font Atlas is not generated when Atlas Resolution is 8192x8192, and the Render Mode is SDF
MashMallo
May 25, 2023 03:54
Thanks for sharing these stuff.