Search Issue Tracker
Fixed in 5.4.4
Votes
0
Found in
5.4.0p2
Issue ID
825408
Regression
Yes
[shaders] Mac shader compiler runs out of memory on complex surface shaders (e.g. Blacksmith Characters pack), 5.4+
Importing "The Blacksmith: Characters" asset, the editor gives an error "Protocol error - failed to read correct magic number". The shader compiler crashes, probably due to out of memory.
1. What happened
Import "The Blacksmith: Characters" asset and see a shader compiler error. The project plays, but character models are pink.
2. How we can reproduce it using the example you attached
- Download and import the "The Blacksmith: Characters" asset from the Asset store;
- After the import is finished see the error in the console:
"Shader compiler: internal error preprocessing shader: Protocol error - failed to read correct magic number". The Volund_StandardCharacterSpecilarSurface shader has failed importing.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
- [tvOS] Project crashes on startup on Apple TV simulator (both X86_64 and ARM64 architectures)
Add comment