Search Issue Tracker
Duplicate
Votes
0
Found in
5.5.0f3
Issue ID
872670
Regression
No
Shader compiler crashes with large arrays
Reproduction Steps:
1- Download attached "TestShader.shader".
2- Open a new Unity project and import downloaded shader.
Expected Result: Shader compiles without problems, or fails with errors.
Observed Result: Shader compiler crashes with error message:
"Shader compiler: internal error compiling shader snippet type=0 platform=4: Protocol error - failed to read correct magic number"
Reproducible: 5.6.0b5, 5.1.5f1
Note: Does not occur when C_MAXLIGHTCOUNT is less than 819. More specifically, when sum of all arrays' sizes is less than 4092. You can distribute this unevenly.
(TestShader.shader - line:31-40)
Comments (1)
-
jackfun908
Jul 22, 2019 06:01
The million user play the very interesting online game here http://mahjongfreegames.online and i am suggest you guys you try to play this game once time.
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
- “Error in Shader Graph Assets/Samples/Shader Graph/17.1.0/Production Ready Shaders/Lit/URPLit.shadergraph: Graph is generating too many variants…” error is thrown after importing Shader Graph Samples
- ComputeShader cannot access the depth element of RenderTexture targeted by an HDR camera
- Search in the Console window highlights wrong text when text contains HTML attributes
- Particle System doesn't always play when ParticleSystem.Play() is called
- Build Profiles: The vertical and horizontal window lines are different colors and this is not consistent with the other engine windows
This is a duplicate of issue #774176