Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by AdamBL · Oct 24, 2016 at 10:03 PM · errorshadercompiler

Shader compiler error - failed to read correct magic number

I recently upgraded to a new laptop, but have been having issues when it comes time to build. About halfway through the build process, my computer locks up, and when it recovers it spews out a bunch of errors. They are things like:

Shader compiler: internal error initializing platforms: Protocol error - failed to read correct magic number

Shader compiler: unrecognized message from the compiler process: 2

Shader compiler: internal error compiling shader snippet type=0 platform=8: Failed reading data from socket

etc.

I downloaded the Unity Viking demo to make sure it wasn't just an issue with my existing and the same problems persist. The computer is a Dell Precision 5510, running Windows 10 and Unity 5.3.6. Has anyone experienced any issues like this?

Thanks!

Adam

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by AdamBL · Oct 26, 2016 at 10:29 PM

So this issue has continued, even after several Unity uninstallations and re-installations with different versions. Even a blank project with just a cube will freeze up during a build on the sharedassets0.assets stage. When I reboot the computer and check the log file, it mentions the same shader compiler errors. I think those errors have something to do with the security software on my computer, but I'm wondering why they'd only show up now?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Tamererlan · Nov 16, 2016 at 05:25 AM

Hi guys :) I've integrated Google's AdMob to our project and have got some errors by trying to get Cloud build: 'pod' command not found and Shader compiler: internal error compiling shader snippet type=0 platform=5: Protocol error - failed to read correct magic number. The first one I was be able to fix but still struggling with the second issue. Does anyone has got the same troubles? Thank you :)

Part of the log file:

 153: [Unity] Shader compiler: internal error compiling shader snippet type=0 platform=5: Protocol error - failed to read correct magic number
 154: [Unity] Shader error in 'Skybox/Procedural': Internal error communicating with the shader compiler process
 155: [Unity] UnityEngine.Debug:LogWarning(Object)
 156: [Unity] UnityEngine.Debug:LogWarning(Object)
 157: [Unity] UnityEngine.Debug:LogWarning(Object)
 158: [Unity] UnityEngine.Debug:LogWarning(Object)
 159: [Unity] UnityEngine.Debug:LogWarning(Object)
 160: [Unity] UnityEngine.Debug:LogWarning(Object)
 161: [Unity] UnityEngine.Debug:LogWarning(Object)
 162: [Unity] UnityEngine.Debug:LogWarning(Object)
 163: [Unity] Player export failed. Reason: Shader error in 'Skybox/Procedural': Internal error communicating with the shader compiler process
 164: ! build of 'default4-ios' failed. compile failed
 165: publishing finished successfully.
 166: Finished: FAILURE


Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AdamBL · Nov 16, 2016 at 06:58 PM 1
Share

We still haven't solved it, but through our research and testing it's looking like the problem is with our antivirus software. $$anonymous$$aybe see if you have some installed and try disabling it.

avatar image Tamererlan AdamBL · Nov 16, 2016 at 09:08 PM 0
Share

Thanks $$anonymous$$for the response, I work with Unity through macOS Sierra and haven't installed the antivirus, could it actually cause any issues?

avatar image LilGames Tamererlan · Aug 29, 2017 at 06:30 PM 0
Share

No. You said you do Cloud Build. Therefore an antivirus should have nothing to do with this (unless it's interfering with your Collab file commits).

avatar image Tamererlan · Nov 16, 2016 at 10:59 PM 0
Share

I've tried to make the Cloud Build again, however have faced another errors :(

link text

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Shader error in ... : Syntax error at line 30 1 Answer

Can't open any projects: Shader compiler initialization error :Failed to read D3Dcompiler_47.DLL 2 Answers

Problem with custom shaders (surface function error) 0 Answers

Compiler Error: unexpected char 1 Answer

Can i trust the Unity shader compiler more than i can trust myself? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges